changeset 38575:f442c9494ec7

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
author Sushil khanchi <sushilkhanchi97@gmail.com>
date Thu, 05 Jul 2018 09:53:00 +0530
parents 050fbd9d103a
children 152f4822d210
files hgext/strip.py tests/test-strip.t
diffstat 2 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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