managing remotes collaboratively with mr

Adam Spiers vcs-home at adamspiers.org
Thu Dec 1 02:29:49 CET 2011


On Mon, May 2, 2011 at 6:36 PM, Joey Hess <joey at kitenet.net> wrote:
> micah anderson wrote:
>> > [DEFAULT]
>> > post_checkout = mr addremotes
>> > pre_update = mr addremotes
>
> Of course these run on all repos, like any mr command.
> So, what's really needed is:
>
> [DEFAULT]
> post_checkout = mr -d $MR_REPO addremotes
> pre_update = mr -d $MR_REPO addremotes

I know this is an old thread, but I thought it would be worth
sharing my solution, which is sort of like a hybrid between
Joey's and Yaroslav's suggestions:

https://github.com/aspiers/mr-config/blob/master/lib/git-add-remotes


More information about the vcs-home mailing list