##// END OF EJS Templates
revisions: allow "x123" to refer to nodeid prefix "123"...
revisions: allow "x123" to refer to nodeid prefix "123" When resolving "123" to a revision, we try to interpret it as revnum before we try to interpret it as a nodeid hex prefix. This can lead to the shortest valid prefix being longer than necessary. This patch lets us write such nodeids in a shorter form by prefixing them with "x" instead of adding more hex digits until they're longer than the longest decimal revnum. On my hg repo with almost 69k revisions, turning this feature on saves on average 0.4% on the average nodeid length. That clearly doesn't justify this patch. However, it becomes more usefule when combined with the earlier patches in this series that let you disambiguate nodeid prefixes within a configured revset. Note that we attempt to resolve symbols as nodeid prefixes after we've exhausted all other posibilities, so this is a backwards compatible change (only queries that would previously fail may now succeed). I've still hidden this feature behind an experiemntal config option so we can roll it back if needed. Differential Revision: https://phab.mercurial-scm.org/D4041

File last commit:

r33429:7a15cae3 default
r38891:7848f284 default
Show More
fsmonitor
38 lines | 992 B | text/plain | TextLexer
Martijn Pieters
fsmonitor: new experimental extension...
r28433 # Blacklist for a full testsuite run with fsmonitor enabled.
Siddharth Agarwal
tests: add a wrapper to run fsmonitor tests...
r32769 # Used by fsmonitor-run-tests.
Martijn Pieters
fsmonitor: new experimental extension...
r28433 # The following tests all fail because they either use extensions that conflict
# with fsmonitor, use subrepositories, or don't anticipate the extra file in
# the .hg directory that fsmonitor adds.
FUJIWARA Katsunori
tests: categorize entries in blacklist for fsmonitor for future reference
r33429
#### mainly testing eol extension
Martijn Pieters
fsmonitor: new experimental extension...
r28433 test-eol-add.t
test-eol-clone.t
test-eol-hook.t
test-eol-patch.t
test-eol-tag.t
test-eol-update.t
test-eol.t
test-eolfilename.t
FUJIWARA Katsunori
tests: categorize entries in blacklist for fsmonitor for future reference
r33429
#### mainly testing largefiles extension
Martijn Pieters
fsmonitor: new experimental extension...
r28433 test-issue3084.t
test-largefiles-cache.t
test-largefiles-misc.t
test-largefiles-small-disk.t
test-largefiles-update.t
test-largefiles-wireproto.t
test-largefiles.t
test-lfconvert.t
FUJIWARA Katsunori
tests: categorize entries in blacklist for fsmonitor for future reference
r33429
#### mainly testing nested repositories
Martijn Pieters
fsmonitor: new experimental extension...
r28433 test-nested-repo.t
test-push-warn.t
test-subrepo-deep-nested-change.t
test-subrepo-recursion.t
test-subrepo.t
FUJIWARA Katsunori
tests: categorize entries in blacklist for fsmonitor for future reference
r33429
#### fixing these seems redundant, because these don't focus on
#### operations in the working directory or .hg
test-debugextensions.t
test-extension.t
test-help.t