1451 matcher = revset.match(repo.ui, expr) |
1451 matcher = revset.match(repo.ui, expr) |
1452 revs = increasingrevs(repo, revs, matcher) |
1452 revs = increasingrevs(repo, revs, matcher) |
1453 if not opts.get('hidden'): |
1453 if not opts.get('hidden'): |
1454 # --hidden is still experimental and not worth a dedicated revset |
1454 # --hidden is still experimental and not worth a dedicated revset |
1455 # yet. Fortunately, filtering revision number is fast. |
1455 # yet. Fortunately, filtering revision number is fast. |
1456 revs = (r for r in revs if r not in repo.hiddenrevs) |
1456 hiddenrevs = repo.hiddenrevs |
|
1457 revs = (r for r in revs if r not in hiddenrevs) |
1457 else: |
1458 else: |
1458 revs = iter(revs) |
1459 revs = iter(revs) |
1459 return revs, expr, filematcher |
1460 return revs, expr, filematcher |
1460 |
1461 |
1461 def displaygraph(ui, dag, displayer, showparents, edgefn, getrenamed=None, |
1462 def displaygraph(ui, dag, displayer, showparents, edgefn, getrenamed=None, |