[PATCH] named branches: --newbranch option to allow intial push of new branches

timeless timeless at gmail.com
Sat Jun 20 23:41:38 CDT 2009


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 ?

if upstream has:

1 -> 2

and I have:

1 -> 2 -> 3 ("a")
   \
     4 ("b")

can I use hg push --newbranch b to push 4?

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...



More information about the Mercurial-devel mailing list