hg repo has empty or missing revlogs
Matt Mackall
mpm at selenic.com
Wed Oct 1 13:45:16 CDT 2008
On Wed, 2008-10-01 at 13:34 -0500, Matt Mackall wrote:
> On Wed, 2008-10-01 at 14:22 -0400, Sanjoy Mahajan wrote:
> > > Notice a pattern in these names? They're all temporary files that got
> > > checked in by mistake.
> >
> > Right. They were in the habit of doing 'hg add' and committing every
> > file in creation.
> >
> > > It looks like after 232 revisions, they learned to stop checking in
> > > temporary files though.
> >
> > After I found out about all the junk files going in, I gave them a
> > reasonable .hgignore to reduce the useless files committed. That might
> > be the cause.
> >
> > > I suspect if you dig a little deeper you'll either find that users
> > > recursively deleted these files (accidentally clobbering the ones in
> > > .hg) or an automated tool did. Or, if you have really special users,
> > > they may have intentionally deleted them.
> >
> > Thanks for that plausible diagnosis. The files wouldn't have been
> > directly deleted on the server (it was only pushed to), but perhaps on
> > one of the clients, whose push could have trashed the server repo.
>
> Hmm, that shouldn't happen, but I suppose it's possible. Must check into
> that.
Looks like I fixed that happening back last November, all modern
versions won't propagate these deleted files.
--
Mathematics is the supreme nostalgia of our time.
More information about the Mercurial
mailing list