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

Martin Geisler mg at lazybytes.net
Fri Sep 18 02:27:14 CDT 2009


Henrik Stuart <henrik.stuart at edlund.dk> writes:

> Martin Geisler wrote:
>> I guess the user gets the 'push creates new remote heads' error if he
>> tries to push a new branch without the --new-branch option? It would be
>> nice if we could mention --new-branch there.
>
> You mean like these lines from the patch:
>
>   self.ui.warn(_("abort: push creates new"
>                  " remote branch '%s'!\n") %
>                  self[updatelh[0]].branch())
> + self.ui.status(_("(use push --newbranch to create new remote branch)\n"))

Hehe, yes, I mean exactly those lines! :-)

-- 
Martin Geisler

VIFF (Virtual Ideal Functionality Framework) brings easy and efficient
SMPC (Secure Multiparty Computation) to Python. See: http://viff.dk/.


More information about the Mercurial-devel mailing list