Propagating push arguments to subrepos

Didly didlybom at gmail.com
Thu Sep 29 01:09:00 CDT 2011


Hi,

it seems that when you push a repo that contains subrepos, when the
subrepos are pushed they do not use the arguments that are passed to
the push command. This means that if you have a new branch on a
subrepo the push action will always fail even if you use is the
--new-branch argument. This is quite annoying and is something that I
face quite often.

Is there a way to pass down the push arguments to the subrepos? If not
I may be interested in trying to add that functionality (perhaps by
adding a -S flag to push), as long as you guys think it is a good
idea.

Cheers,

Angel


More information about the Mercurial-devel mailing list