git-remote-hg/bzr (was: Doing an anonymous git clone from bitbucket: is it possible?)
Hi,
Thomas Goirand wrote:
> BTW, I've came across:
> http://felipec.wordpress.com/2012/11/13/git-remote-hg-bzr-2/
>
> and thought it was cool.
That's very cool indeed, thanks for that pointer!
> Does anyone think it's worth having it in Debian?
I think so. The used concept and architecture seems superior to any
external tools of which we have a few in Debian already:
git-bzr-ng - bi-directional git to bzr bridge: never fear bzr again
tailor - migrate changesets between version control systems
The following ones seem to be either one-way or rather clients that
can connect to git repository than git clients that can connect to
other VCS repositories:
hg-fast-export - mercurial to git converter using git-fast-import
bzr-fastimport - Fast-import/fast-export plugin for Bazaar
mercurial-git - Git plugin for Mercurial
bzr-git - Bazaar plugin providing Git integration
I suspect that these relate to some of the alternatives linked in the
blog-posting.
> I haven't find a license information though. It looks like it is
> a part of Git itself, as per this repo:
> https://github.com/felipec/git/
The plugin architecture itself is already in Debian. At least Git from
Experimental says:
$ git clone "hg::http://selenic.com/repo/hello"
Cloning into 'hello'...
fatal: Unable to find remote helper for 'hg'
So only the plugin itself seems missing.
But downloading these to files and copying them into $PATH makes it
work:
$ git clone "hg::http://selenic.com/repo/hello"
Cloning into 'hello'...
$
> Does anyone know if it is going to be part of upstream Git releases?
>From the posting: "Soon they might be merged into upstream git, so
they would be distributed as other contrib scripts (e.g.
/usr/share/git), and eventually possibly enabled by default."
So I guess for now, there's no action needed by Debian. Just always
use Git from Experimental and keep it up to date. ;-)
Regards, Axel
--
,''`. | Axel Beckert <[email protected]>, http://people.debian.org/~abe/
: :' : | Debian Developer, ftp.ch.debian.org Admin
`. `' | 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE
`- | 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5
Reply to: