On Mon, May 2, 2011 at 6:36 PM, Joey Hess <j...@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
_______________________________________________
vcs-home mailing list
vcs-home@lists.madduck.net
http://lists.madduck.net/listinfo/vcs-home

Reply via email to