(0.9.2compat) update doc strings 0.9.2compat
authorChristian Ebert <blacktrash@gmx.net>
Sat, 10 Nov 2007 14:33:15 +0100
branch0.9.2compat
changeset 295 5b4039ca6867
parent 291 acd3fba02a50
child 299 50bb27cfd926
(0.9.2compat) update doc strings
hgkw/keyword.py
--- a/hgkw/keyword.py	Thu Nov 08 12:59:43 2007 +0100
+++ b/hgkw/keyword.py	Sat Nov 10 14:33:15 2007 +0100
@@ -239,7 +239,8 @@
 
     def process(self, node, data):
         '''Returns a tuple: data, count.
-        Count is number of keywords/keyword substitutions.
+        Count is number of keywords/keyword substitutions, indicates
+        to caller whether to act on file containing data.
         Keywords in data are expanded, if templater was initialized.'''
         if util.binary(data):
             return data, None
@@ -304,6 +305,8 @@
         return revlog.revlog.cmp(self, node, text)
 
 def _status(ui, repo, *pats, **opts):
+    '''Bails out if [keyword] configuration is not active.
+    Returns status of working directory.'''
     if hasattr(ui, 'kwfmatcher'):
         files, match, anypats = cmdutil.matchpats(repo, pats, opts)
         return repo.status(files=files, match=match, list_clean=True)