Merge with stable
authorChristian Ebert <blacktrash@gmx.net>
Thu, 30 Aug 2012 16:18:03 +0100
changeset 1122 feb663195388
parent 1120 d76328c84f3e (current diff)
parent 1121 f4dcce73f362 (diff)
child 1130 193e68a0c8d2
Merge with stable
--- a/hgkw/keyword.py	Thu Aug 09 12:52:34 2012 +0100
+++ b/hgkw/keyword.py	Thu Aug 30 16:18:03 2012 +0100
@@ -7,7 +7,7 @@
 #
 # $Id$
 #
-# Keyword expansion hack against the grain of a DSCM
+# Keyword expansion hack against the grain of a Distributed SCM
 #
 # There are many good reasons why this is not needed in a distributed
 # SCM, still it may be useful in very small projects based on single
@@ -168,7 +168,7 @@
     return subfunc(r'$\1$', text)
 
 def _preselect(wstatus, changed):
-    '''Retrieves modfied and added files from a working directory state
+    '''Retrieves modified and added files from a working directory state
     and returns the subset of each contained in given changed files
     retrieved from a change context.'''
     modified, added = wstatus[:2]
--- a/tests/test-keyword.t	Thu Aug 09 12:52:34 2012 +0100
+++ b/tests/test-keyword.t	Thu Aug 30 16:18:03 2012 +0100
@@ -727,7 +727,7 @@
   ignore $Id$
   a
 
-Write custom keyword and prepare multiline commit message
+Write custom keyword and prepare multi-line commit message
 
   $ echo '$Xinfo$' >> a
   $ cat <<EOF >> log
@@ -745,7 +745,7 @@
   ? c
   ? log
 
-Commit with multiline message and custom expansion
+Commit with multi-line message and custom expansion
 
   $ hg --debug commit -l log -d '2 0' -u 'User Name <user@example.com>'
   a