Export hg repo to github
$ pyenv virtualenv 2.7.14 hg
$ pyenv shell hg
$ pip install "mercurial<4.6" "dulwich<0.19"
$ cat ~/.hgrc
[extensions]
hggit = /Users/andrei/.pyenv/versions/hg/lib/python2.7/site-packages/hggit
$ hg clone ssh://[email protected]/dkuhlman/generateds
$ cd generateds
$ hg push git+ssh://[email protected]/andreif/generateDS.git
$ cat .hg/hgrc
[paths]
default = ssh://[email protected]/andreif/generateds
dkuhlman = ssh://[email protected]/dkuhlman/generateds
github = git+ssh://[email protected]/andreif/generateDS.git
$ hg push github