D6874: uncommit: fix typo in help text

mharbison72 (Matt Harbison) phabricator at mercurial-scm.org
Wed Sep 25 11:57:32 EDT 2019


Closed by commit rHG576fd1c8b20b: uncommit: fix typo in help text (authored by mharbison72).
This revision was automatically updated to reflect the committed changes.

CHANGED PRIOR TO COMMIT
  https://phab.mercurial-scm.org/D6874?vs=16602&id=16614#toc

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D6874?vs=16602&id=16614

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D6874/new/

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

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

CHANGE DETAILS

diff --git a/tests/test-uncommit.t b/tests/test-uncommit.t
--- a/tests/test-uncommit.t
+++ b/tests/test-uncommit.t
@@ -34,7 +34,7 @@
   
   options ([+] can be repeated):
   
-      --keep                     allow an empty commit after uncommiting
+      --keep                     allow an empty commit after uncommitting
       --allow-dirty-working-copy allow uncommit with outstanding changes
    -n --note TEXT                store a note on uncommit
    -I --include PATTERN [+]      include names matching the given patterns
diff --git a/hgext/uncommit.py b/hgext/uncommit.py
--- a/hgext/uncommit.py
+++ b/hgext/uncommit.py
@@ -109,7 +109,7 @@
     return repo.commitctx(new)
 
 @command('uncommit',
-    [('', 'keep', None, _('allow an empty commit after uncommiting')),
+    [('', 'keep', None, _('allow an empty commit after uncommitting')),
      ('', 'allow-dirty-working-copy', False,
     _('allow uncommit with outstanding changes')),
      (b'n', b'note', b'', _(b'store a note on uncommit'), _(b'TEXT'))



To: mharbison72, #hg-reviewers, pulkit
Cc: mercurial-devel


More information about the Mercurial-devel mailing list