github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

offbytwo / git-hg

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 6
    • 1
  • Source
  • Commits
  • Network (1)
  • Issues (0)
  • Downloads (0)
  • Wiki (1)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (2)
    • gh-pages
    • master ✓
  • Tags (0)
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

A git-hg utility for checking out and tracking a mercurial repo. — Read more

  cancel

http://offbytwo.github.com/git-hg

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

moved source.sh to git-hg executable under bin/ 
Cosmin Stejerean (author)
Thu May 14 14:42:52 -0700 2009
commit  65579f3c644cf5e95d78d1b725f2119997ab7125
tree    a03bd98d1fbf6fca7e05c7d99572bfe85a675d8c
parent  a8341f9c46f533d9a5c1f6513af3d9690e8716e9
git-hg /
name age
history
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
Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server