strip: improve help text for --no-backup option
authorSushil khanchi <sushilkhanchi97@gmail.com>
Thu, 05 Jul 2018 09:53:00 +0530
changeset 38574 f442c9494ec7
parent 38573 050fbd9d103a
child 38575 152f4822d210
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
hgext/strip.py
tests/test-strip.t
--- 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