# HG changeset patch # User Yuya Nishihara # Date 1421465984 -32400 # Node ID 7797fadac0e8ca1677ebdddeef3b407c043a705f # Parent c3bbafef25d66f3cb04fbf69c6c4810f6a22095b match: remove unused assignment of ctx ctx is consumed in __init__ to build match patterns and never used after that. diff -r c3bbafef25d6 -r 7797fadac0e8 mercurial/match.py --- 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)