[PATCH 5 of 5] Improve English for keyword extension

timeless timeless at gmail.com
Fri Jun 5 05:03:13 CDT 2009


# HG changeset patch
# User timeless <timeless at gmail.com>
# Date 1244203031 -7200
# Node ID 78cd77a11254d3d8f5786d58cf645043789d03ad
# Parent  afa02d38f8841e05f5de9fd0f1ef2835f7e8885a
Improve English for keyword extension

diff --git a/hgext/keyword.py b/hgext/keyword.py
--- a/hgext/keyword.py
+++ b/hgext/keyword.py
@@ -280,7 +280,7 @@ def demo(ui, repo, *args, **opts):
     '''print [keywordmaps] configuration and an expansion example

     Show current, custom, or default keyword template maps and their
-    expansion.
+    expansions.

     Extend current configuration by specifying maps as arguments and
     optionally by reading from an additional hgrc file.
@@ -358,7 +358,7 @@ def demo(ui, repo, *args, **opts):
     shutil.rmtree(tmpdir, ignore_errors=True)

 def expand(ui, repo, *pats, **opts):
-    '''expand keywords in working directory
+    '''expand keywords in the working directory

     Run after (re)enabling keyword expansion.

@@ -390,7 +390,7 @@ def files(ui, repo, *pats, **opts):
             ui.write(fmt % repo.pathto(f, cwd))

 def shrink(ui, repo, *pats, **opts):
-    '''revert expanded keywords in working directory
+    '''revert expanded keywords in the working directory

     Run before changing/disabling active keywords or if you experience
     problems with "hg import" or "hg merge".


More information about the Mercurial-devel mailing list