##// END OF EJS Templates
scmutil: make shortest() respect disambiguation revset...
scmutil: make shortest() respect disambiguation revset The previous patch would let you use a shorter prefix if the prefix is unique within a configured revset. However, that's not very useful if there's no simple way of knowing what that shorter prefix is. This patch adapts the shortest() template function to use the shorter prefixes for nodes in the configured revset. This is currently extremely slow, because it calculates the revset for each call to shortest(). To make this faster, the next patch will start caching the revset instance. Ideally we'd cache a prefix tree instance instead. Differential Revision: https://phab.mercurial-scm.org/D4038

File last commit:

r37944:b8c2004a default
r38879:6f7c9527 default
Show More
test-ui-color.py.out
5 lines | 56 B | text/plain | TextLexer
/ tests / test-ui-color.py.out
Brodie Rao
color: call correct superclass method in write_err...
r11732 warning
error
Augie Fackler
tests: port test-ui-color.py to Python 3...
r37944 b'buffered\n'
Idan Kamara
color: check if ui is already a subclass of colorui before wrapping it...
r14516 colored? True
colored? True