changeset 35809:f9a82b9b2c36 stable

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
author Martin von Zweigbergk <martinvonz@google.com>
date Fri, 26 Jan 2018 11:42:47 -0800
parents 178aacdc25db
children 113a30b87716
files hgext/uncommit.py
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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