match: remove unused assignment of ctx
authorYuya Nishihara <yuya@tcha.org>
Sat, 17 Jan 2015 12:39:44 +0900
changeset 24452 7797fadac0e8
parent 24451 c3bbafef25d6
child 24453 65f1a29685ab
match: remove unused assignment of ctx ctx is consumed in __init__ to build match patterns and never used after that.
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)