When "warn" is set, user will get notified when the slow code, used for
compatibility is used. This can help people to detect situation were using that
feature will give them a slowdown instead of a speedup.
Details
- Reviewers
Alphare - Group Reviewers
hg-reviewers - Commits
- rHG6493f0a567c2: nodemap: add a new mode option, with an optional "warn" value
Diff Detail
- Repository
- rHG Mercurial
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Event Timeline
mercurial/configitems.py | ||
---|---|---|
684 | another minor nit: since the config section is experimental, we can skip the exp- prefix. |
mercurial/configitems.py | ||
---|---|---|
684 | This matcht he pattern used above. In addition the exp- prefix make sense here` the feature is (was) in a state were any actual usage is out of question. Using a specific prefix for this prevent people using older version to step into a non-working experimental feature when t hey try to use an experimental feature that works fine in a later version. | |
mercurial/localrepo.py | ||
941 | Then the line is too long an need wrapping. I would rather have the small tmp variable than complex line wrapping here. | |
mercurial/revlogutils/nodemap.py | ||
148 | good catch, thanks |
another minor nit: since the config section is experimental, we can skip the exp- prefix.