Patchwork D6874: uncommit: fix typo in help text

login
register
mail settings
Submitter phabricator
Date Sept. 25, 2019, 2:27 a.m.
Message ID <differential-rev-PHID-DREV-4xtxibtcvvdrprc53kyz-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/41747/
State Superseded
Headers show

Comments

phabricator - Sept. 25, 2019, 2:27 a.m.
mharbison72 created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REPOSITORY
  rHG Mercurial

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

AFFECTED FILES
  hgext/uncommit.py

CHANGE DETAILS




To: mharbison72, #hg-reviewers
Cc: mercurial-devel
phabricator - Sept. 25, 2019, 3:51 p.m.
pulkit added a comment.


  Amended the following in flight:
  
    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 @@ Help for uncommit
       
       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

REPOSITORY
  rHG Mercurial

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

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

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

Patch

diff --git a/hgext/uncommit.py b/hgext/uncommit.py
--- a/hgext/uncommit.py
+++ b/hgext/uncommit.py
@@ -101,7 +101,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'))
     ] + commands.walkopts,