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

Henrik Stuart henrik.stuart at edlund.dk
Fri Sep 18 00:57:56 CDT 2009


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"))

? :o)

-- 
Kind regards,
  Henrik Stuart



More information about the Mercurial-devel mailing list