hgkw/keyword.py
branchstable
changeset 472 b1c631613074
parent 471 2c2f35f8501f
child 473 60a0156b904c
equal deleted inserted replaced
471:2c2f35f8501f 472:b1c631613074
   178             mf = ctx.manifest()
   178             mf = ctx.manifest()
   179             files = [f for f in ctx.files() if f in mf]
   179             files = [f for f in ctx.files() if f in mf]
   180             notify = self.ui.debug
   180             notify = self.ui.debug
   181         else:                    # kwexpand/kwshrink
   181         else:                    # kwexpand/kwshrink
   182             ctx = self.repo['.']
   182             ctx = self.repo['.']
       
   183             mf = ctx.manifest()
   183             notify = self.ui.note
   184             notify = self.ui.note
   184         candidates = [f for f in files if self.iskwfile(f, ctx.flags)]
   185         candidates = [f for f in files if self.iskwfile(f, ctx.flags)]
   185         if candidates:
   186         if candidates:
   186             self.restrict = True # do not expand when reading
   187             self.restrict = True # do not expand when reading
   187             candidates.sort()
   188             candidates.sort()