managing remotes collaboratively with mr

Joey Hess joey at kitenet.net
Sat Apr 30 01:49:49 CEST 2011


micah anderson wrote:
> But what if someone adds a new remote? Because I put things in the
> .mrconfig as a 'post_checkout' the new remote will not be added to the
> git repository. I could add the remotes twice, in a post_checkout (for
> the new person who wants to get them all) and then also as a pre_update,
> but that seems a bit ugly.

[DEFAULT]
post_checkout = mr addremotes
pre_update = mr addremotes

[apache]
checkout = git clone gitosis at labs.riseup.net:shared-apache apache
addremotes =
	git remote add foo git://foo.ch/apache.git
	git remote add bar git://bar.net/modules/apache
	git remote add baz git://github.com/baz/apache.git

-- 
see shy jo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 828 bytes
Desc: Digital signature
URL: <http://lists.madduck.net/pipermail/vcs-home/attachments/20110429/0369beea/attachment.pgp>


More information about the vcs-home mailing list