Patchwork D3886: strip: improve help text for --no-backup option

login
register
mail settings
Submitter phabricator
Date July 5, 2018, 7:11 p.m.
Message ID <52cabe137d3f7588872a0663f0f17694@localhost.localdomain>
Download mbox | patch
Permalink /patch/32648/
State Not Applicable
Headers show

Comments

phabricator - July 5, 2018, 7:11 p.m.
khanchi97 updated this revision to Diff 9460.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D3886?vs=9440&id=9460

REVISION DETAIL
  https://phab.mercurial-scm.org/D3886

AFFECTED FILES
  hgext/strip.py
  tests/test-strip.t

CHANGE DETAILS




To: khanchi97, #hg-reviewers
Cc: yuja, mercurial-devel

Patch

diff --git a/tests/test-strip.t b/tests/test-strip.t
--- a/tests/test-strip.t
+++ b/tests/test-strip.t
@@ -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
diff --git a/hgext/strip.py b/hgext/strip.py
--- a/hgext/strip.py
+++ b/hgext/strip.py
@@ -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")),