Mercurial > hg
diff mercurial/match.py @ 24452:7797fadac0e8
match: remove unused assignment of ctx
ctx is consumed in __init__ to build match patterns and never used after that.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sat, 17 Jan 2015 12:39:44 +0900 |
parents | 55c449345b10 |
children | 36872036169b |
line wrap: on
line diff
--- a/mercurial/match.py Sat Jan 17 14:22:21 2015 +0900 +++ b/mercurial/match.py Sat Jan 17 12:39:44 2015 +0900 @@ -72,7 +72,6 @@ self._cwd = cwd self._files = [] # exact files and roots of patterns self._anypats = bool(include or exclude) - self._ctx = ctx self._always = False self._pathrestricted = bool(include or exclude or patterns)