From: Tomas Carnecky <tom@dbservice.com>
To: Tuomo <tuo.tie@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: Another way to compare tools: is it possible to transfer full history?
Date: Tue, 28 Sep 2010 16:53:29 +0200 [thread overview]
Message-ID: <4CA20169.2040606@dbservice.com> (raw)
In-Reply-To: <loom.20100928T153519-936@post.gmane.org>
On 9/28/10 3:44 PM, Tuomo wrote:
> I have seen lots of comparisons between source control tools,
> but have not found a comparison that would explain the fundamental differences
> and similarities in a way that would really let me choose.
> So I decided to try a new approach: if one tries to transfer the full history
> of an application or a larger product/project, which features can I rely on
> finding in any decently recent tool?
>
> Let's start from Git vs. Mercurial: is it possible to move the whole history
> of an application (with or without submodules) from Git to Mercurial?
> From Mercurial to Git?
fast-import/export (man git-fast-export/import) seems to be the future.
Git provides excellent support for it and other SCMs are adopting it as
well. And then there are custom written conversion tools, just take a
look at [1] to see which ones are available.
(shameless plug: just this weekend I started collecting the various fast
import/export tools and made a webpage about it:
http://caurea.org/fast-export-import/. It's far from complete though.
And if you know any tools that perform better than those I've listed,
I'd be glade to update the page).
> If it is not always possible, what is the feature that might completely
> prevent the whole attempt? If partial transfer is possible, what information
> might be missing in the result?
Not all SCMs have the same features. Subversion for example doesn't have
real branches, tags nor merges (in the same sense that Git does). And
even in distributed version control systems there can be differences.
Git history can't be mapped 1:1 to Mercurial (octopus merges come to
mind). Some of these things can be reasonably emulated, some can't and
you loose that information.
tom
[1]
https://git.wiki.kernel.org/index.php/InterfacesFrontendsAndTools#Interaction_with_other_Revision_Control_Systems
next prev parent reply other threads:[~2010-09-28 14:53 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-28 13:44 Another way to compare tools: is it possible to transfer full history? Tuomo
2010-09-28 14:53 ` Tomas Carnecky [this message]
2010-09-28 15:48 ` Michael Haggerty
2010-09-28 20:48 ` Jonathan Nieder
2010-09-28 20:55 ` Sverre Rabbelier
2010-09-29 11:03 ` Tuomo
2010-09-29 11:19 ` Andreas Ericsson
2010-09-29 13:03 ` Tuomo
2010-09-29 13:28 ` Andreas Ericsson
2010-09-29 13:53 ` Tuomo
2010-09-29 14:00 ` Bruce Stephens
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=4CA20169.2040606@dbservice.com \
--to=tom@dbservice.com \
--cc=git@vger.kernel.org \
--cc=tuo.tie@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).