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