unamend: fix command summary line stable
authorMartin von Zweigbergk <martinvonz@google.com>
Fri, 26 Jan 2018 11:42:47 -0800
branchstable
changeset 35809 f9a82b9b2c36
parent 35808 178aacdc25db
child 35810 113a30b87716
unamend: fix command summary line Before this patch, the docstring started with a newline, which led the summary line (shown in e.g. `hg help -c`) to be blank. Differential Revision: https://phab.mercurial-scm.org/D1943
hgext/uncommit.py
--- a/hgext/uncommit.py	Mon Jan 29 13:30:29 2018 -0800
+++ b/hgext/uncommit.py	Fri Jan 26 11:42:47 2018 -0800
@@ -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