[issue2672] mercurial can't find lock file

Ed Hepler bugs at mercurial.selenic.com
Thu Mar 3 05:00:12 UTC 2011


New submission from Ed Hepler <hepler at vlsi-concepts.com>:

mercurial reports: abort: No such file or directory: "path to original
clone"/.hg/store/lock

I created a repository on a remote machine using "hg init", "hg add", "hg
commit"

On a local machine, I created a clone using "hg clone <path to remote repo>"

Local repository was created.

Then I attempted to create a working clone using "hg clone <path to local
clone>" and got the error message stated above.

I also got the same error message when I tried to "hg pull" the remote
repository into the local one.

The local machine is running windows and version 1.7.5 of hg; the remote
machine is running linux and originally had version 1.3.1 but then was
upgraded to 1.7.5 of hg;

The local clone is on a network storage drive.  

I'm running hg in a cygwin window.

It looks like hg is looking for a lock file in the repo's .hg/store directory.

Creating a link manually via: "ln -s aaa bbb" creates a file named bbb.lnk 
and I see a file named lock.lnk in the repo's .hg/store directory.

It appears that when the lock file is created (via a link), the system is
adding the suffix ".lnk", then later when hg looks for "lock" it can't find
it, since the file "lock.lnk" was created.

Is there an option that I missed?

----------
messages: 15468
nosy: ckt_designer
priority: urgent
status: unread
title: mercurial can't find lock file

____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue2672>
____________________________________________________


More information about the Mercurial-devel mailing list