[PATCH RFC] mq: support "qimport --existing --name renametothis thatexistingpatch"
Matt Mackall
mpm at selenic.com
Thu Jul 22 11:01:08 CDT 2010
On Thu, 2010-07-22 at 10:00 +0900, Nicolas Dumazet wrote:
> Hello!
>
> 2010/7/22 Bill Barry <after.fallout at gmail.com>:
> > Can the documentation be nudged around to suggest this one?
> > from:
> > hg qimport [-e] [-n NAME] [-f] [-g] [-P] [-r REV]... FILE...
> > to:
> > hg qimport [-e] FILE [-r REV] [-n NAME] [-f] [-g] [-P] ...
> >
> > (suggesting "qimport -r REV -n newname" as well)
>
> I would not be too happy about that. FILE should be last. If you want
> we can move [-e] to be just before FILE, something like:
> hg qimport [-f] [-g] [-P] [-r REV] [-n NAME] [-e]... FILE...
>
> Maybe we can change FILE by [FILE [FILE ...] ] or something of the
> like, and/or specify that position does not matter, and/or give
> examples.
>
> FILE in fact in not compulsory, as "qimport -r REV" works
I think it would be better to simply add an example usage to the help
text. We need more of those.
--
Mathematics is the supreme nostalgia of our time.
More information about the Mercurial-devel
mailing list