# HG changeset patch # User Yuya Nishihara # Date 2015-01-17 03:39:44 # 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 --git a/mercurial/match.py b/mercurial/match.py --- a/mercurial/match.py +++ b/mercurial/match.py @@ -72,7 +72,6 @@ class match(object): 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)