Help removing files (and good mercurial usage)

Alexis S. L. Carvalho alexis at cecm.usp.br
Sat Feb 16 14:55:22 CST 2008


Thus spake Francisco Diaz Trepat - gmail:
> On Feb 16, 2008 4:58 PM, Alexis S. L. Carvalho <alexis at cecm.usp.br> wrote:
> > You've probably accidentally zipped this lock file with the rest of the
> > repo and so it should be safe to remove it.
> 
> 
> Safe to remove the .hg/store/lock file?

If you're sure no other hg process is writing to the repo, you can
remove both .hg/wlock and .hg/store/lock.

Hmm...  you may want to run hg verify after that, just in case.  If you
zipped the repo while the locks were still around it's possible that
somebody was modifying the repo and you zipped only part of those
modifications.

> And then retry the operation?

Yes.

Alexis


More information about the Mercurial mailing list