Promoting the use of Mercurial; was: Re: gnome dvcs survey results
Arne Babenhauserheide
arne_bab at web.de
Sun Jan 11 19:18:24 UTC 2009
Am Sonntag 11 Januar 2009 19:59:48 schrieb Theodore Tso:
> On Sun, Jan 11, 2009 at 03:46:16PM +0100, Arne Babenhauserheide wrote:
> > A DSCM can act as server or as client, but a bridge only needs to
> > implement the client part.
> >
> > It isn't necessary to enable push-from-git-to-bridge, since you can use a
> > standard git repository as push target and then just pull from that one
> > via the bridge.
>
> Well, an hg user will want to take new commits that originated from
> git and pull them into their bridge repo, right? If you have that
> functionality, it's absolutely **trivial** to implement
> push-from-git-to-bridge.
How so?
I'm a bit wary of the word "trivial".
The only really easy implementation I can think of is to have a shell script
which does
$ hg -R <bridge-repo> git pull <git-repo>
But that isn't "push from git to hg", especially not over the wire; I need a
local git clone for that "script" to work.
How would you implement pulling new changes from git othter than following the
great work done in the convert extension?
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
More information about the Mercurial
mailing list