[IPython-dev] Moving to git/github
Wed Apr 14 16:22:11 CDT 2010
A quick addendum...
On Wed, Apr 14, 2010 at 11:39:39AM -0500, Will Maier wrote:
>  FWIW, I also have mirrors on bitbucket (a service catering directly to
> Mercurial). I keep the mirrors in sync with the following in a clone's hgrc:
I just noticed that it is necessary to run the following hook before
changegroup.updatemaster = hg bookmark -f -r default master
hg-git uses the master revision to decide what changesets need to be sent to the
remote git repository. Since the bookmark isn't updated when the mirror repo
receives a push, the above hook is necessary.
> changegroup.bitbucket = hg push bitbucket
> changegroup.github = hg push github
> When I push to the clone, it in turn sends the changes to bitbucket and
> github (the actual paths are defined elsewhere in the hgrc).
More information about the IPython-dev