hgkw/pretxnkw.py
branchextension
changeset 41 e1c539e1282b
parent 40 38ee735886d2
child 42 ba000e29ecf3
--- a/hgkw/pretxnkw.py	Wed Dec 20 10:37:06 2006 +0100
+++ b/hgkw/pretxnkw.py	Wed Dec 20 14:54:38 2006 +0100
@@ -43,7 +43,7 @@
     date = util.datestr(date=date, format=util.defaultdateformats[0])
                                                # %Y-%m-%d %H:%M:%S
 
-    re_kw = re.compile(r'\$Hg[^$]*?\$')
+    re_kw = re.compile(r'\$Hg(: [^$]+?,v [a-z0-9]{12} [^$]+? )?\$')
 
     for f in files:
         data = repo.wfile(f).read()