Only a few updates, and has been moved to contrib/remote-helpers
(git-remote-bzr is on the way).

This remote-hg has advantages other tools don't have:

 * Uses transport-helper (git clone hg::path)
 * The code is small
 * The code is simple
 * No external dependencies (other than mercurial)
 * It's easy to install (put into your path)
 * Has extensive tests (for real)
 * Active development
 * Has compatibility with hg-git
 * The required patches are available
 * No changes necesary to git core
 * Support for bookmarks
 * Support for tags

One important alternative is the one written by Sverre Rabbelier that is
now maintained and distributed in msysgit. A list of issues with that
approach (not exhaustive):

 * Doesn't work on newer versions of mercurial
 * There are multiple versions, each with different issues
 * Don't pass a single of this remote-hg's tests

To use it add it to your $PATH (e.g. ~/bin).

 % git clone hd:///full/path/or/url/to/hg/repo

To run the tests:

 % make -C contrib/remote-helpers test

The only caveat is that you need 'python' in your $PATH.

Changes since v5:

 * Move to contrib/remote-helpers
 * Reorganize tests
 * Fix update of bookmarks
 * Fix for older versions of python
 * Performance improvements
 * Improve default branch/bookmark handling
 * Add fixes test-lib
 * Cleanups

Changes since v4:

Felipe Contreras (16):
  Add new remote-hg transport helper
  remote-hg: add support for pushing
  remote-hg: add support for remote pushing
  remote-hg: add support to push URLs
  remote-hg: make sure the encoding is correct
  remote-hg: match hg merge behavior
  remote-hg: add support for hg-git compat mode
  remote-hg: add compat for hg-git author fixes
  remote-hg: fake bookmark when there's none
  remote-hg: add basic tests
  test-lib: avoid full path to store test results
  remote-hg: add bidirectional tests
  remote-hg: add tests to compare with hg-git
  remote-hg: add extra author test
  remote-hg: add option to not track branches
  remote-hg: the author email can be null

 contrib/remote-helpers/Makefile          |  13 +
 contrib/remote-helpers/git-remote-hg     | 785 +++++++++++++++++++++++++++++++
 contrib/remote-helpers/test-hg-bidi.sh   | 243 ++++++++++
 contrib/remote-helpers/test-hg-hg-git.sh | 466 ++++++++++++++++++
 contrib/remote-helpers/test-hg.sh        | 112 +++++
 t/test-lib.sh                            |   3 +-
 6 files changed, 1621 insertions(+), 1 deletion(-)
 create mode 100644 contrib/remote-helpers/Makefile
 create mode 100755 contrib/remote-helpers/git-remote-hg
 create mode 100755 contrib/remote-helpers/test-hg-bidi.sh
 create mode 100755 contrib/remote-helpers/test-hg-hg-git.sh
 create mode 100755 contrib/remote-helpers/test-hg.sh


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

Reply via email to