Re: Git/Mercurial interoperability (and what about bzr?) (was: Re: [VOTE] git versus mercurial)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Johannes Schindelin
Date: Tuesday, October 28, 2008 - 7:59 am

Hi,

On Tue, 28 Oct 2008, Peter Krefting wrote:


There was talk about imitating Mercurial's wire protocol in order to have 
an efficient HTTP server.  Shawn is working on that front;

We discussed it briefly, and there might be some cute ways to copy it: 
since we are not append-only, we have to download the pack index first 
(which is not downloaded ATM, as we generate it from the downloaded pack 
while verifying it).  With that index, we can determine which parts we 
need in order to regenerate the pack; it would still be pretty stupid when 
there are a lot of branches and we are really only interested in one of 
them.

But I doubt that it will be possible to use the wire protocol to pull/push 
between different DVCSes.  I _strongly_ doubt that the SHA-1s in the 
Mercurial repositories could _ever_ be reused in Git mirrors of them, as 
our data format (on which the hash depends) is different.


Wasn't bzr touting it as one of their major features that they could have 
foreign-scm remotes?  If I remembered that correctly, that might be the 
route you want to take.

Ciao,
Dscho

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[VOTE] git versus mercurial, walt, (Sat Oct 25, 9:28 pm)
Re: [VOTE] git versus mercurial, walt, (Tue Oct 28, 5:31 am)
Re: [VOTE] git versus mercurial, Johannes Schindelin, (Tue Oct 28, 7:28 am)
Re: Git/Mercurial interoperability (and what about bzr?) ( ..., Johannes Schindelin, (Tue Oct 28, 7:59 am)
Re: [VOTE] git versus mercurial, Miles Bader, (Wed Oct 29, 1:15 am)
Re: [VOTE] git versus mercurial, Shawn O. Pearce, (Wed Oct 29, 12:11 pm)
Re: [VOTE] git versus mercurial, Boyd Lynn Gerber, (Wed Oct 29, 12:36 pm)
Re: [VOTE] git versus mercurial, Johannes Schindelin, (Wed Oct 29, 12:48 pm)
Re: [VOTE] git versus mercurial, Boyd Lynn Gerber, (Wed Oct 29, 12:51 pm)
Re: Git/Mercurial interoperability (and what about bzr?), Florian Weimer, (Sat Nov 1, 1:06 am)
Re: Git/Mercurial interoperability (and what about bzr?), Jakub Narebski, (Sat Nov 1, 3:33 am)
Re: Git/Mercurial interoperability (and what about bzr?), Florian Weimer, (Sat Nov 1, 3:44 am)
Re: Git/Mercurial interoperability (and what about bzr?), Florian Weimer, (Sat Nov 1, 4:10 am)
Re: Git/Mercurial interoperability (and what about bzr?), Jakub Narebski, (Sat Nov 1, 5:26 am)
Re: Git/Mercurial interoperability (and what about bzr?), Linus Torvalds, (Sat Nov 1, 10:51 am)