[PATCH] RFC: --new-branch patch

Matt Mackall mpm at selenic.com
Fri May 21 16:13:48 CDT 2010


On Fri, 2010-05-21 at 15:38 +0200, Sune Foldager wrote:
> # HG changeset patch
> # User Sune Foldager <cryo at cyanite.org>
> # Date 1274448149 -7200
> # Node ID d47a525d7798fb6382f4793fe98a67e6ad53ac3c
> # Parent  385b95d10410376a4930eebd9938fb2252b539d1
> push: add --new-branch option to allow intial push of new branches
> 
> Compare this to --force which allows anything to be pushed. With --new-branch,
> only changesets to named branches not present on the and changesets not
> introducing additional heads on existing branches are allowed.

Queued with a minor tweak:
> +          ('', 'new-branch', False, _('allows you to push a new branch')),
>           ] + remoteopts,

I've changed this to "allows pushing a..."

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list