diff contrib/perf.py @ 20032:175c6fd8cacc

subsettable: move from repoview to branchmap, the only place it's used This is a step towards breaking an import cycle between revset and repoview. Import cycles happened to work in Python 2 with implicit relative imports, but breaks on Python 3 when we start using explicit relative imports via 2to3 rewrite rules.
author Augie Fackler <raf@durin42.com>
date Wed, 06 Nov 2013 14:38:34 -0500
parents fe8795dee77d
children 74aea4be8e78
line wrap: on
line diff
--- a/contrib/perf.py	Sat Nov 16 20:12:02 2013 -0500
+++ b/contrib/perf.py	Wed Nov 06 14:38:34 2013 -0500
@@ -386,7 +386,7 @@
     allfilters = []
     while possiblefilters:
         for name in possiblefilters:
-            subset = repoview.subsettable.get(name)
+            subset = branchmap.subsettable.get(name)
             if subset not in possiblefilters:
                 break
         else: