Mercurial > hg
comparison hgext/shelve.py @ 20410:fc5354648224
shelve: mention FILE options in help
Shelve do normally take a list of files or patterns to shelve and the command
summary should thus show [FILE]...
Note: --delete is a bit special and interpret the parameters as a list of
shelve names. This change makes that even less obvious from the help. Too bad
- we can't please everyone.
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Mon, 10 Feb 2014 00:53:27 +0100 |
parents | 0b7a9940a397 |
children | 66359d8b8d7e |
comparison
equal
deleted
inserted
replaced
20409:0b7a9940a397 | 20410:fc5354648224 |
---|---|
630 _('use the given name for the shelved commit'), _('NAME')), | 630 _('use the given name for the shelved commit'), _('NAME')), |
631 ('p', 'patch', None, | 631 ('p', 'patch', None, |
632 _('show patch')), | 632 _('show patch')), |
633 ('', 'stat', None, | 633 ('', 'stat', None, |
634 _('output diffstat-style summary of changes'))] + commands.walkopts, | 634 _('output diffstat-style summary of changes'))] + commands.walkopts, |
635 _('hg shelve [OPTION]...')) | 635 _('hg shelve [OPTION]... [FILE]...')) |
636 def shelvecmd(ui, repo, *pats, **opts): | 636 def shelvecmd(ui, repo, *pats, **opts): |
637 '''save and set aside changes from the working directory | 637 '''save and set aside changes from the working directory |
638 | 638 |
639 Shelving takes files that "hg status" reports as not clean, saves | 639 Shelving takes files that "hg status" reports as not clean, saves |
640 the modifications to a bundle (a shelved change), and reverts the | 640 the modifications to a bundle (a shelved change), and reverts the |