Mercurial > hg
comparison hgext/strip.py @ 40346:943248e47864
commands: adjust metavariables as appropriate
Apart from looking better in hg help command, these strings are also helpful
when generating shell completions programmatically.
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Wed, 17 Oct 2018 21:00:36 +0800 |
parents | c303d65d2e34 |
children | 0bd56c291359 |
comparison
equal
deleted
inserted
replaced
40345:d30a19d10441 | 40346:943248e47864 |
---|---|
108 '(DEPRECATED)')), | 108 '(DEPRECATED)')), |
109 ('n', '', None, _('ignored (DEPRECATED)')), | 109 ('n', '', None, _('ignored (DEPRECATED)')), |
110 ('k', 'keep', None, _("do not modify working directory during " | 110 ('k', 'keep', None, _("do not modify working directory during " |
111 "strip")), | 111 "strip")), |
112 ('B', 'bookmark', [], _("remove revs only reachable from given" | 112 ('B', 'bookmark', [], _("remove revs only reachable from given" |
113 " bookmark"))], | 113 " bookmark"), _('BOOKMARK'))], |
114 _('hg strip [-k] [-f] [-B bookmark] [-r] REV...'), | 114 _('hg strip [-k] [-f] [-B bookmark] [-r] REV...'), |
115 helpcategory=command.CATEGORY_MAINTENANCE) | 115 helpcategory=command.CATEGORY_MAINTENANCE) |
116 def stripcmd(ui, repo, *revs, **opts): | 116 def stripcmd(ui, repo, *revs, **opts): |
117 """strip changesets and all their descendants from the repository | 117 """strip changesets and all their descendants from the repository |
118 | 118 |