[PATCH] switch: add a switch extension to easily move between branches (issue4420)

Piotr Listkiewicz piotr.listkiewicz at gmail.com
Tue Mar 1 20:12:04 UTC 2016


>
> you're missing [OPTIONS] before [BRANCH]
> [OPTIONS] refers to -a/-c below. Otherwise what you're saying is that
> there are no options, the only optional thing is a branch name.
> (there are other ways to write it, e.g. [-a|-c] but that's harder to
> maintain.)



>
> you're missing a blank line here.


 `hg help branch` says "With no argument", I'd encourage you to use its
> specific wording (if I later change it, I'll try to change all
> matching text at the same time...).


"saves... update*s* ... restore*s*"


respectively


all changed in patch v2


2016-02-29 16:33 GMT+01:00 timeless <timeless at gmail.com>:

> liscju wrote:
> > +  $ hg switch -h
> > +  hg switch [BRANCH]
> you're missing [OPTIONS] before [BRANCH]
> [OPTIONS] refers to -a/-c below. Otherwise what you're saying is that
> there are no options, the only optional thing is a branch name.
> (there are other ways to write it, e.g. [-a|-c] but that's harder to
> maintain.)
>
> > +
> > +  switches to given branch or show possible switch destination
>
> you're missing a blank line here.
>
> > +      With no arguments show possible switch destination.
>
> `hg help branch` says "With no argument", I'd encourage you to use its
> specific wording (if I later change it, I'll try to change all
> matching text at the same time...).
>
>
> > With one argument
> > +      saves changes made to the working directory,
> > update to given branch and
>
> "saves... update*s* ... restore*s*"
>
> > +      restore saved changes.
>
> > Before switching to other branch it marks
> > +      new/missing files as added/removed.
>
> respectively
>
> > +  options:
> > +
> > +   -a --abort    abort an incomplete switch operation
> > +   -c --continue continue an incomplete switch operation
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mercurial-scm.org/pipermail/mercurial-devel/attachments/20160301/757137d8/attachment.html>


More information about the Mercurial-devel mailing list