repository seemingly corrupted after "abort: Operation not permitted: 'path_to_directory' "
Becker, Mischa J
mischa.becker at fredmeyer.com
Thu Aug 8 17:24:01 UTC 2013
From: Matt Mackall
Sent: Thursday, August 08, 2013 10:13 AM
To: j. van den hoff
Cc: mercurial at selenic.com
Subject: Re: repository seemingly corrupted after "abort: Operation not permitted: 'path_to_directory' "
> On Thu, 2013-08-08 at 18:29 +0200, j. van den hoff wrote:
> > hi list,
> >
> > first time in several years of (not too fancy) hg usage that seemingly
> > something really bad happened.
> >
> > a) the setup:
> > I have a repository (purely local, not connected to any other repo, backup
> > is done otherwise...) containing a modestly deep file tree with some
> > hundred files, mostly shell scripts. the repo is 3 years old with some 500
> > revisions over all. over time there has been substantial restructuring
> > done, all with `hg mv' as far as I recall. moreover, there are a bunch of
> > untracked files in the tree (test files etc.)
> >
> > b) problem 1 (the small one):
> > when trying to do `hg up' to some quite old revision I get an abort due to
> > some untracked file not matching to earlier state of repo (to something to
> > that extent). question: what is that about? why does mercurial care about
> > some untracked file at all and does not leave it alone?
>
> You asked it to do something that would have overwritten the file.
> Mercurial can't distinguish "extremely valuable but haven't checked in
> yet" from "worthless".
>
> > c) problem 2 (the BIG one):
> > after getting rid of problem 1 I restored the repo + working copy from
> > yesterdays backup (just to make sure that I start over with a definitely
> > uncorrupted setup) and tried again to `hg up' to the old revision. this
> > failed with "abort: Operation not permitted: 'path_to_directory'"
>
> Do this again with --traceback and send us the full output.
If you are worried your repo is corrupted you can run 'hg verify' to check it.
Mischa
________________________________
This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain information that is confidential and protected by law from unauthorized disclosure. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.
More information about the Mercurial
mailing list