fix trivial spelling errors stable
authorMads Kiilerich <mads@kiilerich.com>
Wed, 15 Aug 2012 22:38:42 +0200
branchstable
changeset 1121 f4dcce73f362
parent 1119 5f7f30917a18
child 1122 feb663195388
child 1123 17bcbb020dda
fix trivial spelling errors [ original upstream message ]
hgkw/keyword.py
tests/test-keyword.t
--- a/hgkw/keyword.py	Wed Aug 08 18:10:16 2012 +0200
+++ b/hgkw/keyword.py	Wed Aug 15 22:38:42 2012 +0200
@@ -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	Wed Aug 08 18:10:16 2012 +0200
+++ b/tests/test-keyword.t	Wed Aug 15 22:38:42 2012 +0200
@@ -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