# HG changeset patch # User Mads Kiilerich # Date 1345063122 -7200 # Node ID f4dcce73f36243502cc4c89f81c910187860e097 # Parent 5f7f30917a185716eb985890ed3ed996ddfb579b fix trivial spelling errors [ original upstream message ] diff -r 5f7f30917a18 -r f4dcce73f362 hgkw/keyword.py --- 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] diff -r 5f7f30917a18 -r f4dcce73f362 tests/test-keyword.t --- 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 <> 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 ' a