##// END OF EJS Templates
revset: drop support for posttreebuilthook() (API)...
Yuya Nishihara -
r37691:0c6b1ec7 default
parent child Browse files
Show More
@@ -2166,10 +2166,6 b' methods = {'
2166 "parentpost": parentpost,
2166 "parentpost": parentpost,
2167 }
2167 }
2168
2168
2169 def posttreebuilthook(tree, repo):
2170 # hook for extensions to execute code on the optimized tree
2171 pass
2172
2173 def lookupfn(repo):
2169 def lookupfn(repo):
2174 return lambda symbol: scmutil.isrevsymbol(repo, symbol)
2170 return lambda symbol: scmutil.isrevsymbol(repo, symbol)
2175
2171
@@ -2211,7 +2207,6 b' def matchany(ui, specs, repo=None, local'
2211 tree = revsetlang.foldconcat(tree)
2207 tree = revsetlang.foldconcat(tree)
2212 tree = revsetlang.analyze(tree)
2208 tree = revsetlang.analyze(tree)
2213 tree = revsetlang.optimize(tree)
2209 tree = revsetlang.optimize(tree)
2214 posttreebuilthook(tree, repo)
2215 return makematcher(tree)
2210 return makematcher(tree)
2216
2211
2217 def makematcher(tree):
2212 def makematcher(tree):
General Comments 0
You need to be logged in to leave comments. Login now