Skip to content
jterrace edited this page Feb 27, 2013 · 2 revisions

Updating the repository from upstream

Note: Much of this is taken from the Create a Git Mirror hg tip.

  1. First, install mercurial-git:
sudo apt-get install mercurial-git
  1. Make sure that the hggit extension is loaded in your ~/.hgrc file:
[extensions]
hggit = /usr/share/pyshared/hgext/git
  1. Clone the google-api-python-client repository:
hg clone https://code.google.com/p/google-api-python-client/
  1. Enter into the repository:
cd google-api-python-client
  1. Open the .hg/hgrc file and add this:
[paths]
git = git+ssh://[email protected]/gsutil-mirrors/google-api-python-client.git
  1. Push to github:
hg push git
Clone this wiki locally