public
Description: A git-hg utility for checking out and tracking a mercurial repo.
Homepage: http://offbytwo.github.com/git-hg
Clone URL: git://github.com/offbytwo/git-hg.git
cosmin (author)
Thu May 14 14:42:52 -0700 2009
commit  65579f3c644cf5e95d78d1b725f2119997ab7125
tree    a03bd98d1fbf6fca7e05c7d99572bfe85a675d8c
parent  a8341f9c46f533d9a5c1f6513af3d9690e8716e9
git-hg /
name age message
file .gitmodules Loading commit data...
file LICENSE
file README
directory bin/
submodule fast-export - ff19982
file update-externals.sh
README
Author: Cosmin Stejerean (offbytwo)
License: MIT
Description: A set of scripts for checking out and tracking a mercrial project
from git.

* Dependencies *

If this is a fresh checkout run

  $ git submodule init
  $ git submodule update

to pull in fast-export. If for some reason you cannot do this
get a copy of fast-export from http://repo.or.cz/w/fast-export.git and
place it in the root of the checkout.

* Installation *

add /path/to/this/checkout/bin to your $PATH

* Usage *

- clone an hg repo, including ones over HTTP

  $ git-hg clone http://some/random/hg/repo [local-git-repo-name]

- fetch updates from the hg repo

  $ git-hg fetch

  or optionally

  $ git-hg pull # same as git-hg-fetch && git merge hg/branch_name

- checkout a new branch from hg

  $ git-hg checkout branch_name

* Structure *

.git/hgcheckout - contains a bare mercurial checkout of the specified repo

.git/hgremote   - contains a bare git repo clones from the mercurial one, this
                  is added as a remote called "hg" in the base repo