Promoting the use of Mercurial; was: Re: gnome dvcs survey results
Arne Babenhauserheide
arne_bab at web.de
Sat Jan 10 17:00:45 CST 2009
Am Samstag 10 Januar 2009 17:26:57 schrieb Theodore Tso:
> No, there needs to be a *single*, well constructed bi-directional
> gateway, that can convert "foreign" commits to "local" commits in such
> a way that regardless of whether Hg or git is considered "foreign" or
> "local", the resulting commits look good and can be treated as
> first-class commits in both systems.
hgsubversion goes an easier way which works quite well.
It only creates new changesets for svn, so it has a "converter" from hg
changesets to svn changesets.
We already have the same for converting from git to Mercurial (hg convert).
We'd just need to add something which goes the other way round and then
directly connects the new remote revisions to the pushed local revisions so
they don't get pulled again (and their children stay in history).
> If moving forward, we have to tell both git and hg users, look you
> both have to make some sacrifices; in order for this to work Hg users
> have to use Bookmarks for tags and branches, and git users have to
> give up on octopus merges, that may be important from a
> social/political point of view.
> But note that once you have this two-way bridge, it can be used to go
> in the opposite direction.
This just won't work for me.
I have Mercurial and I want to use its strengths.
If you construct the bridge as a Mercurial extension, then I can pull from git
and push back my commits into git, but git people can't bridge their commits
without using Mercurial.
And by using the convert extension creating the bridge with a Mercurial
repository as bridging facility should be the easier way.
Best wishes,
Arne
--
-- Ein Würfel System: http://1w6.org - einfach saubere (Rollenspiel-) Regeln.
-- Infinite Hands: http://infinite-hands.draketo.de - singing a part of the
history of free software.
-- My stuff: http://draketo.de - stories, songs, poems, programs and stuff :)
-- PGP/GnuPG: http://draketo.de/inhalt/ich/pubkey.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://selenic.com/pipermail/mercurial/attachments/20090111/02a058f7/attachment.pgp
More information about the Mercurial
mailing list