Argh!!!
Matt Mackall
mpm at selenic.com
Wed Mar 14 18:51:06 UTC 2007
On Wed, Mar 14, 2007 at 09:16:29AM -0600, Phillip Neiswanger wrote:
> On Wed, 14 Mar 2007 01:18:48 -0600, Michael Smith
> <michael.smith at thalesatm.com> wrote:
>
> >Phillip Neiswanger wrote:
> >
> >>I commit as root and the commit appears to work just fine. By that I
> >>mean it didn't report any errors or die while trying to commit.
> >>However, any command that tries to work with the repository will
> >>produce the error you see at the beginning of this message. Is there
> >>anything that can be done with the repository at this point? I'm of
> >>the opinion I should just delete the .hg directory and init/add/commit
> >>again. I don't want to loose all the history, but I can at least
> >>continue if there's nothing that can be done to reclaim the history.
> >
> >As root can you chown the whole repository and clone structure back to
> >your user id?
>
> The only files that were owned by root were the following:
>
> .hg/dirstate
> .hg/store/data/app/views/some_view/__partial__01.rhtml.i
> .hg/store/data/public/stylesheets/some_view/partial__01.css.i
> .hg/store/undo
>
> Changing ownership of those files did not correct the problem.
> Interestingly, the ..partial.. files only exist in the .hg/store area of
> the repository(?). I had removed them from the working area of the
> repository before commit'ing that final time. Should I try removing those
> files from the 'store' or would that make things worse?
You should probably start by doing 'hg clone --pull broken backup'.
Usually this will give you a clean repo. Then send the output of 'hg
verify' on your broken repo.
--
Mathematics is the supreme nostalgia of our time.
More information about the Mercurial
mailing list