schacon / hg-git

mercurial to git bridge, pushed to directly from the hg-git plugin in Hg
GNU General Public License v2.0
620 stars 71 forks source link

hg pull fails with the claim of that a file is already in use #183

Closed nightkr closed 13 years ago

nightkr commented 13 years ago

When I execute hg pull it returns (partially translated from Swedish):

pulling from git://github.com/dontcare4free/ManagedSoundEmu.git
importing Hg objects into Git
Total 0 (delta 0), reused 0 (delta 0)
abort: It is impossible to access the file since it is being used by another process

It worked the first few times, but then suddenly that started happening. There are no open handles (according to Unlocker) to any of the files in the directory (except for the cmd prompt one). I have even tried rebooting but the problem is still there.

durin42 commented 13 years ago

Look in .hg for stale lock files.

On Wed, Mar 23, 2011 at 4:33 PM, dontcare4free reply@reply.github.com wrote:

When I execute hg pull it returns (partially translated from Swedish):

pulling from git://github.com/dontcare4free/ManagedSoundEmu.git
importing Hg objects into Git
Total 0 (delta 0), reused 0 (delta 0)
abort: It is impossible to access the file since it is being used by another process

It worked the first few times, but then suddenly that started happening. There are no open handles (according to Unlocker) to any of the files in the directory (except for the cmd prompt one). I have even tried rebooting but the problem is still there.

Reply to this email directly or view it on GitHub: https://github.com/schacon/hg-git/issues/183

nightkr commented 13 years ago

No lock files existed in there

durin42 commented 13 years ago

Try inside .hg/git as well, otherwise I'm out of ideas. What platform is this?

On Wed, Mar 23, 2011 at 4:37 PM, dontcare4free reply@reply.github.com wrote:

Done, no lock files exist in there

Reply to this email directly or view it on GitHub: https://github.com/schacon/hg-git/issues/183#comment_909857

nightkr commented 13 years ago

64-bit Windows 7 No lock files in .hg/git found either

durin42 commented 13 years ago

No clue then, I don't know anything about Windows.

On Wed, Mar 23, 2011 at 4:39 PM, dontcare4free reply@reply.github.com wrote:

64-bit Windows 7

Reply to this email directly or view it on GitHub: https://github.com/schacon/hg-git/issues/183#comment_909871