dates in hg export

Jason Harris jason at jasonfharris.com
Wed Jun 16 05:22:04 CDT 2010


On Jun 16, 2010, at 4:52 AM, Matt Mackall wrote:

> On Wed, 2010-06-16 at 02:24 +0200, Jason Harris wrote:
>> Hi All,
>> 
>> I have the following issue: hg export exports something with a header like:
> 
> Yes, it should work. In fact, I've considered changing the date field
> here to be human-readable.

+1 :)

> Try doing a non-exact import and comparing the raw changelog data as above. 
> I suspect you're seeing something slightly different.

As you said there is a difference which is causing this change:

With the original

[Bolt:~/hello] hello 4(4) $ hg debugdata .hg/store/00changelog.i 4
d41a88c83cbdf96e4b5483a80bade3916f615249
Bryan O'Sullivan <bos at serpentine.com>
1218917813 -7200
hello.c


With the steps of export - change to isodate - import version:

[Bolt:~/hello] hello 4(4) $ hg debugdata .hg/store/00changelog.i 4
d41a88c83cbdf96e4b5483a80bade3916f615249
Bryan O'Sullivan <bos at serpentine.com>
1218917760 -7200
hello.c

The rest of the details are in issue 2238

Thanks!
  Jas





More information about the Mercurial-devel mailing list