add __len__ and __iter__ methods to repo and revlog stable
authorMatt Mackall <mpm@selenic.com>
Thu, 26 Jun 2008 14:35:50 -0500
branchstable
changeset 472 b1c631613074
parent 471 2c2f35f8501f
child 473 60a0156b904c
add __len__ and __iter__ methods to repo and revlog [ original upstream description]
hgkw/keyword.py
--- a/hgkw/keyword.py	Thu Jun 26 14:35:50 2008 -0500
+++ b/hgkw/keyword.py	Thu Jun 26 14:35:50 2008 -0500
@@ -180,6 +180,7 @@
             notify = self.ui.debug
         else:                    # kwexpand/kwshrink
             ctx = self.repo['.']
+            mf = ctx.manifest()
             notify = self.ui.note
         candidates = [f for f in files if self.iskwfile(f, ctx.flags)]
         if candidates: