strip: improve help text for --no-backup option
Help text is modified to clearly define the meaning of
--no-backup option.
Differential Revision: https://phab.mercurial-scm.org/D3886
--- a/hgext/strip.py Thu Jul 05 15:07:29 2018 -0400
+++ b/hgext/strip.py Thu Jul 05 09:53:00 2018 +0530
@@ -103,8 +103,9 @@
'option)'), _('REV')),
('f', 'force', None, _('force removal of changesets, discard '
'uncommitted changes (no backup)')),
- ('', 'no-backup', None, _('no backups')),
- ('', 'nobackup', None, _('no backups (DEPRECATED)')),
+ ('', 'no-backup', None, _('do not save backup bundle')),
+ ('', 'nobackup', None, _('do not save backup bundle '
+ '(DEPRECATED)')),
('n', '', None, _('ignored (DEPRECATED)')),
('k', 'keep', None, _("do not modify working directory during "
"strip")),
--- a/tests/test-strip.t Thu Jul 05 15:07:29 2018 -0400
+++ b/tests/test-strip.t Thu Jul 05 09:53:00 2018 +0530
@@ -719,7 +719,7 @@
revisions without this option)
-f --force force removal of changesets, discard uncommitted
changes (no backup)
- --no-backup no backups
+ --no-backup do not save backup bundle
-k --keep do not modify working directory during strip
-B --bookmark VALUE [+] remove revs only reachable from given bookmark
--mq operate on patch repository