Search code examples
mercurialtortoisehg

Mercurial HG on Tortoise stuck - waiting for lock on working directory


Over night, my Tortoise stopped being able to push to my work repo, even though both my locks show free.

I get waiting for lock on working directory of \\uGames/MyGameRepo held by process '24012' on host MyHost.

After a long time of trying to push, I get abort: working directory of \\uGames/MyGameRepo: timed out waiting for lock held by MyHost:24012.

There is another question on this, but none of the solutions there has resolved my problem.

Here is the output of my hg debuglock:

lock:  free
wlock: free

I cannot push anything... How can I fix this?


Solution

  • You may need to go to the repo on the server and check the lock files there.

    Since you are using a network file share as your repository, your local HG client will directly read/write files in that location. So it could be the lock files there that are the problem.