##// 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:

r25708:d3d32643 default
r27929:3b2ac211 stable
Show More
test-wireproto.py.out
2 lines | 49 B | text/plain | TextLexer
/ tests / test-wireproto.py.out
Thomas Arendsen Hein
test-wireprotocol.py: rename to test-wireproto.py for consistency...
r14765 Hello, Foobar
Augie Fackler
wireproto: correctly escape batched args and responses (issue4739)...
r25708 ['Hello, Fo, =;:<o', 'Hello, Bar']