On Sat, Aug 3, 2013 at 11:36 AM, Jörn Hees <d...@joernhees.de> wrote:
> it seems that if you use the 18.104.22.168 remote-helpers/git-remote-hg to clone a
> mercurial repo the timezone information of commits gets transformed into your
> current timezone.
> (command: git clone hg::…)
> I noticed this when a colleague in another timezone used Kiln to also export
> the same mercurial repo that i had cloned from git before.
> Fetching from his git repo gives me a "second root tree" with all commits
> A git show of two equivalent commit reveals that the Date: line of the
> commits changed.
> Tracking this back into the original mercurial repo reveals that _his_ times
> are correct.
> This will also make two or more clones from different timezones all using the
> same hg remote repo incompatible!
> Original mercurial commit (timezone: -7200 = -4h)
> Lipis git export via Kiln: (-4h)
> My export via git clone hg::ssh://h...@bitbucket.org/lipis/gae-init (+2h)
Actually our version is the correct one:
% hg commit -m one -d "2012-04-28 11:28 +0200"
% hg export
# HG changeset patch
# User Felipe Contreras <felipe.contre...@gmail.com>
# Date 1335605280 -7200
# Sat Apr 28 11:28:00 2012 +0200
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html