3

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?

CatarinaRuna
  • 520
  • 4
  • 15
  • 2
    could you post the output of "hg debuglock"? What OS are you using? - Also when things like this happen for me, it's because there is a hg.exe process doing something, which I just have to find and kill. – Tom Jan 18 '21 at 18:47
  • 1
    @Tom I have added the output as an edit. The OS is Win10. I could see no hg process... – CatarinaRuna Jan 20 '21 at 14:21
  • 2
    You may need to go to the repo on the server and check the lock files there? – StayOnTarget Jan 20 '21 at 14:23
  • 1
    That is a great idea. I will contact the server admin. – CatarinaRuna Jan 20 '21 at 14:26
  • @StayOnTarget That was it! The server guy found a lock on the remote and freed it. I can push now. Thank you! – CatarinaRuna Jan 20 '21 at 15:05
  • 2
    @CatarinaRuna glad that helped. We used to use the \\ network file share approach for hg as well. Switched to hg serve later (which I prefer). Its faster and generally seems to have fewer pitfalls. – StayOnTarget Jan 20 '21 at 15:06

1 Answers1

3

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.

StayOnTarget
  • 11,743
  • 10
  • 52
  • 81