hgkw/keyword.py
changeset 765 c5badbf855db
parent 764 b8234da61635
child 767 0492a5acf652
--- a/hgkw/keyword.py	Wed Jun 09 17:21:12 2010 +0100
+++ b/hgkw/keyword.py	Tue Jun 01 01:05:45 2010 +0200
@@ -218,6 +218,8 @@
                     self.repo.wwrite(f, data, mf.flags(f))
                     if iswctx:
                         self.repo.dirstate.normal(f)
+                    elif self.record:
+                        self.repo.dirstate.normallookup(f)
             self.restrict = False
 
     def shrinktext(self, text):