hg log shows nothing after upgrade.

Rob Landley rob at landley.net
Tue Jan 13 09:05:43 UTC 2015



On 01/13/2015 02:29 AM, Matt Mackall wrote:
> On Tue, 2015-01-13 at 01:10 -0600, Rob Landley wrote:
>> Last week I backed up my home partition and reinstalled from ubuntu
>> 12.04 to 14.04, and now my old mercurial directories don't work. "hg
>> log" shows nothing, hg identify says:
>>
>>   warning: ignoring unknown working parent 382d5b9ff2d5!
>>   000000000000+ tip"
> 
> It's not your upgrade. Nothing has changed in the repository format
> since 1.7 (2010) and the latest Mercurial will happily and transparently
> read formats back to 0.5 (the format the main hg repo happens to still
> be in!). Your Ubuntu has 2.0.2, your new one had 2.8.2, all ancient news
> now. No one's ever reported any issue like this on upgrade.
> 
>>From your error message, I can see you have a .hg/dirstate file. It
> points to a hash. It also knows there are modifications. So far so good.
> 
> What's not good is that hash is unknown and you have no log entries.
> What that suggests is that you don't have a .hg/store/00changelog.i
> file.

$ ls -l .hg/store/00changelog.i
-rw-rw-r-- 1 landley landley 105152 Jan  2 00:44 .hg/store/00changelog.i

Rob



More information about the Mercurial mailing list