##// END OF EJS Templates
debugrevspec: evaluate tree built by itself...
Yuya Nishihara -
r29921:a82e138d default
parent child Browse files
Show More
@@ -3525,7 +3525,8 b' def debugrevspec(ui, repo, expr, **opts)'
3525 """
3525 """
3526 stages = [
3526 stages = [
3527 ('parsed', lambda tree: tree),
3527 ('parsed', lambda tree: tree),
3528 ('expanded', lambda tree: revset.expandaliases(ui, tree)),
3528 ('expanded',
3529 lambda tree: revset.expandaliases(ui, tree, showwarning=ui.warn)),
3529 ('concatenated', revset.foldconcat),
3530 ('concatenated', revset.foldconcat),
3530 ('analyzed', revset.analyze),
3531 ('analyzed', revset.analyze),
3531 ('optimized', revset.optimize),
3532 ('optimized', revset.optimize),
@@ -3560,7 +3561,7 b' def debugrevspec(ui, repo, expr, **opts)'
3560 ui.write(revset.prettyformat(tree), "\n")
3561 ui.write(revset.prettyformat(tree), "\n")
3561 printedtree = tree
3562 printedtree = tree
3562
3563
3563 func = revset.match(ui, expr, repo)
3564 func = revset.makematcher(tree)
3564 revs = func(repo)
3565 revs = func(repo)
3565 if ui.verbose:
3566 if ui.verbose:
3566 ui.note(("* set:\n"), revset.prettyformatset(revs), "\n")
3567 ui.note(("* set:\n"), revset.prettyformatset(revs), "\n")
General Comments 0
You need to be logged in to leave comments. Login now