git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Scott Chacon <schacon@gmail.com>
To: Sverre Rabbelier <srabbelier@gmail.com>
Cc: Daniel Barkalow <barkalow@iabervon.org>,
	Johannes Schindelin <Johannes.Schindelin@gmx.de>,
	Mike Hommey <mh@glandium.org>, Eric Wong <normalperson@yhbt.net>,
	Jeff King <peff@peff.net>,
	"Shawn O. Pearce" <spearce@spearce.org>,
	Git List <git@vger.kernel.org>
Subject: Re: GSoC 2010
Date: Fri, 12 Feb 2010 11:47:34 -0800	[thread overview]
Message-ID: <d411cc4a1002121147i67317ec8k69c7274ba49d6e38@mail.gmail.com> (raw)
In-Reply-To: <fabb9a1e1002121130uf16efeeyea6f763be18d27d@mail.gmail.com>

Hey,

On Fri, Feb 12, 2010 at 11:30 AM, Sverre Rabbelier <srabbelier@gmail.com> wrote:
> Heya,
>
> On Fri, Feb 12, 2010 at 20:16, Daniel Barkalow <barkalow@iabervon.org> 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

  reply	other threads:[~2010-02-12 19:47 UTC|newest]

Thread overview: 53+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-10 20:23 GSoC 2010 Sverre Rabbelier
2010-02-11 21:48 ` Petr Baudis
2010-02-12  4:02   ` Christian Couder
     [not found]     ` <e72faaa81002120222p19db9c75u737e2615c14930b1@mail.gmail.com>
     [not found]       ` <e72faaa81002120226y5e4b1c28tbaf6a7dccb9634dc@mail.gmail.com>
2010-02-12 10:56         ` web-based client for Git, was " Johannes Schindelin
2010-02-12 11:04           ` Pau Garcia i Quiles
2010-02-12 11:20             ` Johannes Schindelin
2010-02-12 11:35           ` Petr Baudis
     [not found]             ` <e72faaa81002120355t4c8596d0q66da4aeb4cce3a94@mail.gmail.com>
2010-02-12 11:58               ` Pavan Kumar Sunkara
2010-02-12 12:18               ` Petr Baudis
2010-02-12 12:24                 ` Pavan Kumar Sunkara
2010-02-12 12:33                   ` Petr Baudis
2010-02-12 12:44                 ` Mike Hommey
2010-02-12 12:51                   ` Petr Baudis
2010-02-12 12:54                     ` Pavan Kumar Sunkara
2010-02-12 13:07                       ` Johannes Schindelin
2010-02-12 13:05                         ` Petr Baudis
2010-02-12 13:07                           ` Pavan Kumar Sunkara
2010-02-12 13:15                           ` Johannes Schindelin
2010-02-12 13:30                           ` Jakub Narebski
2010-02-12 13:03                     ` Mike Hommey
2010-02-12 18:24                     ` david
2010-02-12 15:14                 ` Scott Chacon
2010-02-12 16:45                   ` Petr Baudis
2010-02-12 16:52                     ` Jan Koprowski
2010-02-12 17:01                       ` Pavan Kumar Sunkara
2010-02-12  8:06 ` Eric Wong
2010-02-12  9:02   ` Johannes Schindelin
2010-02-12  9:03     ` Sverre Rabbelier
2010-02-12  9:16       ` Mike Hommey
2010-02-12  9:35         ` Johannes Schindelin
2010-02-12  9:32           ` Sverre Rabbelier
2010-02-12 10:07             ` Mike Hommey
2010-02-12 10:49               ` strbuf & other stuff dual-licensing, was " Johannes Schindelin
2010-02-12 16:10             ` Daniel Barkalow
2010-02-12 16:41               ` Sverre Rabbelier
2010-02-12 19:16                 ` Daniel Barkalow
2010-02-12 19:30                   ` Sverre Rabbelier
2010-02-12 19:47                     ` Scott Chacon [this message]
2010-02-12  9:34           ` Tay Ray Chuan
2010-02-12  9:52             ` Sverre Rabbelier
2010-02-12  9:30       ` Johannes Schindelin
2010-02-12  9:06   ` Sverre Rabbelier
2010-02-12 16:19 ` Daniel Barkalow
2010-02-12 16:43   ` Sverre Rabbelier
2010-02-14  6:52 ` Jeff King
2010-02-14 18:15   ` Johannes Schindelin
2010-02-15  8:30     ` Jeff King
2010-02-15 16:53       ` Shawn O. Pearce
2010-02-15 21:53         ` Sverre Rabbelier
2010-02-15 22:33           ` Johannes Schindelin
2010-02-15 22:31             ` Sverre Rabbelier
2010-02-15 22:36               ` Shawn O. Pearce
2010-02-15 22:58                 ` Sverre Rabbelier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d411cc4a1002121147i67317ec8k69c7274ba49d6e38@mail.gmail.com \
    --to=schacon@gmail.com \
    --cc=Johannes.Schindelin@gmx.de \
    --cc=barkalow@iabervon.org \
    --cc=git@vger.kernel.org \
    --cc=mh@glandium.org \
    --cc=normalperson@yhbt.net \
    --cc=peff@peff.net \
    --cc=spearce@spearce.org \
    --cc=srabbelier@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).