Mercurial stuck “waiting for lock”

前端 未结 11 1646
天命终不由人
天命终不由人 2020-12-02 04:14

Got a bluescreen in windows while cloning a mercurial repository.

After reboot, I now get this message for almost all hg commands:

c:\\src\\>hg commit
wai         


        
11条回答
  •  旧时难觅i
    2020-12-02 04:38

    I had the same problem. Got the following message when I tried to commit:

    waiting for lock on working directory of  held by '...'
    

    hg debuglock showed this:

    lock:  free
    wlock:  (66722s)
    

    So I did the following command, and that fixed the problem for me:

    hg debuglocks -W
    

    Using Win7 and TortoiseHg 4.8.7.

提交回复
热议问题