[PATCH] named branches: --newbranch option to allow intial push of new branches
Henrik Stuart
hg at hstuart.dk
Sun Jun 21 08:31:24 UTC 2009
timeless wrote:
> if upstream has:
>
> 1 -> 2
>
> and I have:
>
> 1 -> 2
> \
> 3 ("a") -> 4
> \
> 5
>
> Can I use hg push --newbranch to push 3,4,5 ?
Yes.
> if upstream has:
>
> 1 -> 2
>
> and I have:
>
> 1 -> 2 -> 3 ("a")
> \
> 4 ("b")
>
> can I use hg push --newbranch b to push 4?
No, newbranch does not take any arguments. Your command would try to
push to the repository in the b directory.
> and if i just do hg push --newbranch does it push 3 and 4?
> On Sat, Jun 20, 2009 at 1:22 PM, Sune Foldager<sune.foldager at edlund.dk> wrote:
>> + self.ui.status(_("(use push --newbranch to create new remote branch)\n"))
>
> you either want "new remote branches" or "a new remote branch". The
> answers to the questions above would indicate which...
The correct one is "new remote branches".
--
Kind regards,
Henrik Stuart
More information about the Mercurial-devel
mailing list