[PATCH 4 of 4] Improve English for keyword extension

Greg Ward greg-hg at gerg.ca
Tue Jun 9 10:48:01 CDT 2009


# HG changeset patch
# User timeless <timeless at gmail.com>
# Date 1244553934 14400
# Node ID a382f03b7c110f76742595509d12197889413c87
# Parent  53260aa33622fbfad3eba0f56e45e3c3b294893d
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 @@
     '''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 @@
     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 @@
             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".
diff --git a/tests/test-keyword.out b/tests/test-keyword.out
--- a/tests/test-keyword.out
+++ b/tests/test-keyword.out
@@ -49,9 +49,9 @@
 list of commands:
 
  kwdemo     print [keywordmaps] configuration and an expansion example
- kwexpand   expand keywords in working directory
+ kwexpand   expand keywords in the working directory
  kwfiles    print files currently configured for keyword expansion
- kwshrink   revert expanded keywords in working directory
+ kwshrink   revert expanded keywords in the working directory
 
 enabled extensions:
 


More information about the Mercurial-devel mailing list