[IPython-dev] Moving to git/github
Will Maier
willmaier at ml1.net
Wed Apr 14 17:22:11 EDT 2010
A quick addendum...
On Wed, Apr 14, 2010 at 11:39:39AM -0500, Will Maier wrote:
> [0] 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:
>
> [hooks]
I just noticed that it is necessary to run the following hook before
changegroup.github:
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).
--
[Will Maier]-----------------[willmaier at ml1.net|http://www.lfod.us/]
More information about the IPython-dev
mailing list