Patchwork D6874: uncommit: fix typo in help text

login
register
mail settings
Submitter phabricator
Date Sept. 25, 2019, 3:57 p.m.
Message ID <61c689bb6babbb785702bdc4f8f02d03@localhost.localdomain>
Download mbox | patch
Permalink /patch/41764/
State Not Applicable
Headers show

Comments

phabricator - Sept. 25, 2019, 3:57 p.m.
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




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

Patch

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'))