hg log shows nothing after upgrade.

Rob Landley rob at landley.net
Tue Jan 13 19:26:38 UTC 2015


On 01/13/2015 12:35 PM, Matt Mackall wrote:
> On Tue, 2015-01-13 at 12:28 -0600, Rob Landley wrote:
>>   http://landley.net/dothg.tar.gz
> 
> You have a "new" repo with a missing requires file.. which causes
> Mercurial to treat it as a paleolithic repo because it claims to have no
> requirements. To fix:
> 
> $ hg init foo
> $ cp foo/.hg/requires .hg/requires
> $ hg log
> 
> Mercurial only touches this file at repo creation time.. so someone else
> must have touched it in the meantime.

Huh. Yeah, adding that in made "hg log" work again.

This happened to all the repositories in the backup of the old ubuntu
12.04 filesystem, and to repositories copied from my other ubuntu 12.04
machine. Possibly one of the extensions I had installed? The old .hgrc
has...

[extensions]
hgext.convert=
hgext.record=
hgext.purge=
#rebase=
hgext.bookmarks =
#hggit =

(The only one I ever really used was hg record.)

Dreamhost still has 12.04.5 on the server, but at least the .5 seems to
have upgraded Mercurial to a version from 2011:

$ hg --version
Mercurial Distributed SCM (version 2.0.2)

So according to that repository version list you sent me last month it
should now be able to handle current repository formats if I rsync the
www directory from the new box. (Fingers crossed...)

Thanks,

Rob



More information about the Mercurial mailing list