1 hg-to-git.py is able to convert a Mercurial repository into a git one,
 
   2 and preserves the branches in the process (unlike tailor)
 
   4 hg-to-git.py can probably be greatly improved (it's a rather crude
 
   5 combination of shell and python) but it does already work quite well for
 
   7         - supports incremental conversion
 
   8           (for keeping a git repo in sync with a hg one)
 
  12 Note that the git repository will be created 'in place' (at the same
 
  13 location as the source hg repo). You will have to manually remove the
 
  14 '.hg' directory after the conversion.
 
  16 Also note that the incremental conversion uses 'simple' hg changesets
 
  17 identifiers (ordinals, as opposed to SHA-1 ids), and since these ids
 
  18 are not stable across different repositories the hg-to-git.py state file
 
  19 is forever tied to one hg repository.
 
  21 Stelian Pop <stelian@popies.net>