identical change, different changesetid

Kevin Bullock kbullock+mercurial at ringworld.org
Thu May 5 19:44:20 UTC 2011


On May 5, 2011, at 1:51 PM, Haszlakiewicz, Eric wrote:

>> -----Original Message-----
>> From: Matt Mackall [mailto:mpm at selenic.com]
>> 
>>> How do I figure out why things are different?
>> 
>> Compare the output of:
>> 
>> hg debugdata .hg/store/00changelog.i <rev>
>> 
>> on both repos. These must be byte-identical to get the same changeset
>> hash.
> 
> Ah, thanks.  I found that command but I couldn't figure out how to use it.
> The first line is different:
> 
>> cd X0
> X0>hg debugdata .hg/store/00changelog.i 5 > ../X0.txt
> X0>cd ../X1
> X1>hg debugdata .hg/store/00changelog.i 5 > ../X1.txt
> X1>cd ..
>> diff -u X0.txt X1.txt
> --- X0.txt      2011-05-05 13:49:36.806626600 -0500
> +++ X1.txt      2011-05-05 13:49:41.181486600 -0500
> @@ -1,4 +1,4 @@
> -a1f994465eb6fc082d7db05a59a38269993d0c60
> +8566b05d1c1fe370ce38a7186a381e2f7412a180
> ehaszla
> 1265224283 21600
> tucrs/code/scripts/etc/cibil-prod+ifxncr.cfg
> 
> What does that mean?


If I'm reading your diff correctly, it's the revision ID of the manifest. Try comparing the output of the following:

$ hg debugdata .hg/store/00changelog.i a1f994465eb6fc082d7db05a59a38269993d0c60
$ hg debugdata .hg/store/00changelog.i 8566b05d1c1fe370ce38a7186a381e2f7412a180

pacem in terris / mir / shanti / salaam / heiwa
Kevin R. Bullock




More information about the Mercurial mailing list