[PATCH] phase: say "Returns 0" instead of "Return 0" like other command help

Yuya Nishihara yuya at tcha.org
Mon Mar 3 00:58:32 CST 2014


# HG changeset patch
# User Yuya Nishihara <yuya at 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

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


More information about the Mercurial-devel mailing list