# HG changeset patch # User Christian Ebert # Date 1166440205 -3600 # Node ID b70b38b15fa42cda765becb4b065ee9bf9706b50 # Parent 28e8bd971c02efb66f5d04897674af248939795d Update function descriptions diff -r 28e8bd971c02 -r b70b38b15fa4 hgkw/kwexpander.py --- a/hgkw/kwexpander.py Mon Dec 18 12:01:26 2006 +0100 +++ b/hgkw/kwexpander.py Mon Dec 18 12:10:05 2006 +0100 @@ -5,7 +5,7 @@ import re def expandkw(ui, repo, rev, cid, candidates, update=False): - '''Important: returns False on success, True on failure.''' + '''Expands logged Hg in working directory.''' # name of keyword encode filter: kwencodefilter = 'hgkwencode' diff -r 28e8bd971c02 -r b70b38b15fa4 hgkw/pretxnkw.py --- a/hgkw/pretxnkw.py Mon Dec 18 12:01:26 2006 +0100 +++ b/hgkw/pretxnkw.py Mon Dec 18 12:10:05 2006 +0100 @@ -5,7 +5,8 @@ import sys def pretxnkw(ui, repo, hooktype, **args): - '''Important: returns False on success, True on failure.''' + '''Collects candidates for keyword expansion on commit + and passes them to kwexpander.''' if hooktype != 'pretxncommit': # bail out with error diff -r 28e8bd971c02 -r b70b38b15fa4 hgkw/updatekw.py --- a/hgkw/updatekw.py Mon Dec 18 12:01:26 2006 +0100 +++ b/hgkw/updatekw.py Mon Dec 18 12:10:05 2006 +0100 @@ -3,7 +3,8 @@ import kwexpander def updatekw(ui, repo, hooktype, **args): - '''Important: returns False on success, True on failure.''' + '''Collects candidates for keyword expansion on update + and passes them to kwexpander.''' if hooktype != 'update': # bail out with error