Re: GSoC 2010

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hey,

On Fri, Feb 12, 2010 at 11:30 AM, Sverre Rabbelier <srabbelier@xxxxxxxxx> wrote:
> Heya,
>
> On Fri, Feb 12, 2010 at 20:16, Daniel Barkalow <barkalow@xxxxxxxxxxxx> wrote:
>> I think that 'export' will always have this effect, because the
>> export/reimport roundtrip is practically never going to be exact with a
>> remote system that isn't actually git (and the state that you see the
>> remote as having after a successful push should match what you see if you
>> were to clone again).
>
> Not so, currently round-trips to Mercurial using hg-git result in
> identical commits.

In most cases, this is true, but unfortunately not every VCS is as
denormalized data-wise as Git is. Hg records rename info and a
manifest of changed files in the changeset explicitly, whereas Git
figures them out from the linked trees.  This means that if some
plugin does not write the file listing or rename info properly, it's
difficult to recreate perfectly.  It also doesn't help that the method
that writes that changed-file list from contents in memory operates
subtly differently than the one that writes it from files in the
working directory.  This caused days of headaches for me trying to
keep bidirectional losslessness.

Possibly not terribly helpful information, but interesting to me nonetheless.

Scott
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]