Hello,
It's been a few months since I've used SourceTree, but this time it's throwing an error when I try to PULL changes for existing local repos:
hg pull -u C:\Users\me\AppData\Local\Temp\l5rpcxmz.xkc
pulling from C:\Users\me\AppData\Local\Temp\l5rpcxmz.xkc
abort: could not lock working directory of C:\Users\me\Documents\Source Code\MyProject: Permission denied
pulling from C:\Users\me\AppData\Local\Temp\l5rpcxmz.xkc
abort: could not lock working directory of C:\Users\me\Documents\Source Code\MyProject: Permission denied
pulling from C:\Users\me\AppData\Local\Temp\l5rpcxmz.xkc
abort: could not lock working directory of C:\Users\me\Documents\Source Code\MyProject: Permission denied
pulling from C:\Users\me\AppData\Local\Temp\l5rpcxmz.xkc
abort: could not lock working directory of C:\Users\me\Documents\Source Code\MyProject: Permission denied
Completed with errors, see above.
There have been no user changes on my local machine. Both the working directory and the .hg file have "full control" permissions for my user, the administrator's group (of which I am a member) and "SYSTEM". Also, I'm able to login to Bitbucket and access repos just fine. In fact, I'm able to clone successfully with TortoiseHg. Additionally, I've attempted to run SourceTree as admin with the same result.
When I open a new tab in SourceTree (btw, I'm using the latest version - v2.6.3.0), click the "remote" option, right-click my username and "Edit Account", the window shows "Authentication OK" immediately. However, I'm unable to clone repos and get the following error:
hg clone https://my_username@bitbucket.org/MyOrg/myOtherProj "C:\Users\me\Documents\Source Code\TEST3"
abort: C:\Users\me\Documents\Source Code\TEST3\.hg\00changelog.i: Access is denied
Completed with errors, see above.
"Access is denied" and "Permission denied" seem to point to a permissions issue, but I'm not sure where to look at this point. I'd appreciate any point in the right direction.
Thanks!
Hello! This sounds like it could be an anti-virus issue. Can you try just running that same clone command, but from the command-line in the destination directory?
Thanks for your reply, Mike!
I was able to clone the repo via the command line. I was also able to clone it using TortoiseHg.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.