Patchwork D1943: unamend: fix command summary line

login
register
mail settings
Submitter phabricator
Date Jan. 26, 2018, 7:45 p.m.
Message ID <differential-rev-PHID-DREV-gfzhf6mwmv4pcls2gic2-req@phab.mercurial-scm.org>
Download mbox | patch
Permalink /patch/27071/
State Superseded
Headers show

Comments

phabricator - Jan. 26, 2018, 7:45 p.m.
martinvonz created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REVISION SUMMARY
  Before this patch, the docstring started with a newline, which led the
  summary line (shown in e.g. `hg help -c`) to be blank.

REPOSITORY
  rHG Mercurial

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

AFFECTED FILES
  hgext/uncommit.py

CHANGE DETAILS




To: martinvonz, #hg-reviewers
Cc: mercurial-devel

Patch

diff --git a/hgext/uncommit.py b/hgext/uncommit.py
--- a/hgext/uncommit.py
+++ b/hgext/uncommit.py
@@ -193,8 +193,7 @@ 
 
 @command('^unamend', [])
 def unamend(ui, repo, **opts):
-    """
-    undo the most recent amend operation on a current changeset
+    """undo the most recent amend operation on a current changeset
 
     This command will roll back to the previous version of a changeset,
     leaving working directory in state in which it was before running