D3886: strip: improve help text for --no-backup option
khanchi97 (Sushil khanchi)
phabricator at mercurial-scm.org
Thu Jul 5 15:11:47 EDT 2018
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
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")),
To: khanchi97, #hg-reviewers
Cc: yuja, mercurial-devel
More information about the Mercurial-devel
mailing list