Skip to content
thobrla edited this page Nov 13, 2014 · 1 revision

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 six repository:
hg clone https://bitbucket.org/gutworth/six
  1. Enter into the repository:
cd six
  1. Open the .hg/hgrc file and add this:
[paths]
git = git+ssh://[email protected]/gsutil-mirrors/six
  1. Push to github:
hg push git
Clone this wiki locally