Mercurial > public > mercurial-scm > hg
comparison mercurial/debugcommands.py @ 38829:7e7e2b2ff284
fileset: add stub for weight-based optimization
The main purpose of this change is to group basic patterns, which can be
mapped to a plain matcher. I'm not so interested in a weight of each function.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sat, 21 Jul 2018 15:52:26 +0900 |
parents | 6371ab78c3b3 |
children | 4d992e3f10ba |
comparison
equal
deleted
inserted
replaced
38828:3ea6ce609747 | 38829:7e7e2b2ff284 |
---|---|
900 ctx = scmutil.revsingle(repo, opts.get('rev'), None) | 900 ctx = scmutil.revsingle(repo, opts.get('rev'), None) |
901 | 901 |
902 stages = [ | 902 stages = [ |
903 ('parsed', pycompat.identity), | 903 ('parsed', pycompat.identity), |
904 ('analyzed', filesetlang.analyze), | 904 ('analyzed', filesetlang.analyze), |
905 ('optimized', filesetlang.optimize), | |
905 ] | 906 ] |
906 stagenames = set(n for n, f in stages) | 907 stagenames = set(n for n, f in stages) |
907 | 908 |
908 showalways = set() | 909 showalways = set() |
909 if ui.verbose and not opts['show_stage']: | 910 if ui.verbose and not opts['show_stage']: |