"waiting for lock on repository"
Benoit Boissinot
benoit.boissinot at ens-lyon.org
Tue Mar 31 19:38:27 CDT 2009
On Tue, Mar 31, 2009 at 05:31:53PM -0700, Sam's Lists wrote:
> Hi...
>
> Yesterday I had some network issues, and an operation disconnected halfway
> through.
>
> Now when I do a: hg commit -m "fun"
>
> I get:
> waiting for lock on repository /home/me/dev_branch/ws held by 'pepper:9149'
> abort: repository /home/me/dev_branch/ws: timed out waiting for lock held by
> pepper:9149
>
> There is no process (anymore) on pepper actually doing anything.
>
> How do I safely remove the lock?
There should be a file (actually symlink) named lock inside the .hg,
just remove it (if you're sure no actual processes are running).
>
> This question has been asked several times before on the web, but never
> definitively answered (as far as I can tell), so it will be great to get an
> answer for everyone.
>
> See:
> http://stackoverflow.com/questions/12865/mercurial-stuck-waiting-for-lock/13205
> http://www.nabble.com/Error:-timed-out-waiting-for-lock-td13259548.html
> http://markmail.org/message/kuiy2uwuyhoo62jy
>
regards,
Benoit
--
:wq
More information about the Mercurial
mailing list