Patchwork phase: say "Returns 0" instead of "Return 0" like other command help

login
register
mail settings
Submitter Yuya Nishihara
Date March 3, 2014, 6:58 a.m.
Message ID <3c72fa74eb2d3f9e52e7.1393829912@gimlet>
Download mbox | patch
Permalink /patch/3830/
State Accepted
Commit 2d183dd5438450e465785b2204e406ed48e6d5f8
Headers show

Comments

Yuya Nishihara - March 3, 2014, 6:58 a.m.
# HG changeset patch
# User Yuya Nishihara <yuya@tcha.org>
# Date 1393829445 -32400
#      Mon Mar 03 15:50:45 2014 +0900
# Node ID 3c72fa74eb2d3f9e52e70705e2ece2c838c91045
# Parent  050aca662c660b60906992c0e873db7fcd57157c
phase: say "Returns 0" instead of "Return 0" like other command help
Matt Mackall - March 3, 2014, 8:40 p.m.
On Mon, 2014-03-03 at 15:58 +0900, Yuya Nishihara wrote:
> # HG changeset patch
> # User Yuya Nishihara <yuya@tcha.org>
> # Date 1393829445 -32400
> #      Mon Mar 03 15:50:45 2014 +0900
> # Node ID 3c72fa74eb2d3f9e52e70705e2ece2c838c91045
> # Parent  050aca662c660b60906992c0e873db7fcd57157c
> phase: say "Returns 0" instead of "Return 0" like other command help

Queued for stable, thanks.

Patch

diff --git a/mercurial/commands.py b/mercurial/commands.py
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -4468,7 +4468,7 @@  def phase(ui, repo, *revs, **opts):
 
         public < draft < secret
 
-    Return 0 on success, 1 if no phases were changed or some could not
+    Returns 0 on success, 1 if no phases were changed or some could not
     be changed.
     """
     # search for a unique phase argument