Mercurial > hg-stable
comparison hgext/extdiff.py @ 16686:67964cda8701
cleanup: "not x in y" -> "x not in y"
author | Brodie Rao <brodie@sf.io> |
---|---|
date | Sat, 12 May 2012 16:00:57 +0200 |
parents | 55174ab81973 |
children | 38caf405d010 |
comparison
equal
deleted
inserted
replaced
16685:43d55088415a | 16686:67964cda8701 |
---|---|
86 wopener = scmutil.opener(base) | 86 wopener = scmutil.opener(base) |
87 fns_and_mtime = [] | 87 fns_and_mtime = [] |
88 ctx = repo[node] | 88 ctx = repo[node] |
89 for fn in files: | 89 for fn in files: |
90 wfn = util.pconvert(fn) | 90 wfn = util.pconvert(fn) |
91 if not wfn in ctx: | 91 if wfn not in ctx: |
92 # File doesn't exist; could be a bogus modify | 92 # File doesn't exist; could be a bogus modify |
93 continue | 93 continue |
94 ui.note(' %s\n' % wfn) | 94 ui.note(' %s\n' % wfn) |
95 dest = os.path.join(base, wfn) | 95 dest = os.path.join(base, wfn) |
96 fctx = ctx[wfn] | 96 fctx = ctx[wfn] |