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