# HG changeset patch # User Sushil khanchi # Date 1530764580 -19800 # Node ID f442c9494ec70e25583386e89c4b981b5ca4680c # Parent 050fbd9d103ad4f4b2085e721e4d175791fc8b4c 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 diff -r 050fbd9d103a -r f442c9494ec7 hgext/strip.py --- 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")), diff -r 050fbd9d103a -r f442c9494ec7 tests/test-strip.t --- 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