Re: Mercurial to git converter.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Sat, 14 Jun 2008, Nick Andrew wrote:

> Stelian Pop <stelian <at> popies.net> writes:
> 
> > I switched recently from Mercurial to git for some of my projects, and
> > needed a conversion tool with branch support (unlike tailor). I didn't
> > find any, so I ended up writing my own one. 
> > 
> > hg-to-git.py can probably be greatly improved (it's a rather crude 
> > combination of shell and python) but it does already work quite well 
> > for me. [...]
> 
> Thanks for that. One small problem is that it does not get the changelog 
> right if a commit is made on a local branch. It thinks the "branch:" 
> line is part of the changelog.

FWIW I switched my local mercurial2git conversion to the hg-fast-export 
solution from 

	git://repo.or.cz/fast-export.git

Even if it's documentation leaves almost completely to be desired, after 
figuring out how to operate it by reading the source, it works pretty 
nicely, and fast, because it uses fast-import.

Originally, I did not try it because I thought it cannot operate in 
incremental mode, but it can.

Ciao,
Dscho


--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux