equal
deleted
inserted
replaced
243 '''Overwrites selected files expanding/shrinking keywords.''' |
243 '''Overwrites selected files expanding/shrinking keywords.''' |
244 ctx = repo.changectx(node) |
244 ctx = repo.changectx(node) |
245 mf = ctx.manifest() |
245 mf = ctx.manifest() |
246 if node is not None: # commit |
246 if node is not None: # commit |
247 _kwtemplater.commitnode = node |
247 _kwtemplater.commitnode = node |
248 files = [f for f in ctx.files() if mf.has_key(f)] |
248 files = [f for f in ctx.files() if f in mf] |
249 notify = ui.debug |
249 notify = ui.debug |
250 else: # kwexpand/kwshrink |
250 else: # kwexpand/kwshrink |
251 notify = ui.note |
251 notify = ui.note |
252 candidates = [f for f in files if _iskwfile(f, mf.linkf)] |
252 candidates = [f for f in files if _iskwfile(f, mf.linkf)] |
253 if candidates: |
253 if candidates: |