-
Notifications
You must be signed in to change notification settings - Fork 2
Home
jterrace edited this page Feb 27, 2013
·
2 revisions
Note: Much of this is taken from the Create a Git Mirror hg tip.
- First, install mercurial-git:
sudo apt-get install mercurial-git
- Make sure that the hggit extension is loaded in your
~/.hgrc
file:
[extensions]
hggit = /usr/share/pyshared/hgext/git
- Clone the google-api-python-client repository:
hg clone https://code.google.com/p/google-api-python-client/
- Enter into the repository:
cd google-api-python-client
- Open the
.hg/hgrc
file and add this:
[paths]
git = git+ssh://[email protected]/gsutil-mirrors/google-api-python-client.git
- Push to github:
hg push git