Add TODO for walk back through file history on update updatehook
authorChristian Ebert <blacktrash@gmx.net>
Mon, 18 Dec 2006 12:01:26 +0100
branchupdatehook
changeset 31 28e8bd971c02
parent 30 bc3bdd329831
child 32 b70b38b15fa4
Add TODO for walk back through file history on update
hgkw/kwexpander.py
--- a/hgkw/kwexpander.py	Mon Dec 18 01:42:06 2006 +0100
+++ b/hgkw/kwexpander.py	Mon Dec 18 12:01:26 2006 +0100
@@ -51,6 +51,9 @@
         text = repo.wfile(f).read()
         if not util.binary(text):
 
+            # TODO for update:
+            # walk back through file history onto last add/modify
+            # like "hg log -l1 f"
             kw = '%sHg: %s,v %s %s %s $' % ('$', f, cid, date, user)
 
             if update and text.find(kwstr) > -1: