##// END OF EJS Templates
changegroup: introduce safeversion()...
changegroup: introduce safeversion() In a few places (at least repair.py and shelve.py), we want to find the best changegroup version that we can assume users of the repo will understand. For example, we choose version 01 by default, but if it's a generaldelta repo, we expect clients to support version 02 anyway, so we choose that for new bundles (for e.g. "hg strip"). Let's create a helper for this functionality in changegroup, so we can reuse it elsewhere later.

File last commit:

r14516:842a9179 default
r27929:3b2ac211 stable
Show More
test-ui-color.py.out
5 lines | 55 B | text/plain | TextLexer
/ tests / test-ui-color.py.out
Brodie Rao
color: call correct superclass method in write_err...
r11732 warning
error
'buffered\n'
Idan Kamara
color: check if ui is already a subclass of colorui before wrapping it...
r14516 colored? True
colored? True