changeset 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 c3bbafef25d6
children 65f1a29685ab
files mercurial/match.py
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
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)