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

r26421:4b0fc75f default
r27929:3b2ac211 stable
Show More
README
7 lines | 141 B | text/plain | TextLexer
mpm@selenic.com
testing fixups...
r332 To run the tests, do:
cd tests/
Stephen Darnell
Delete the shell version of run-tests...
r2207 python run-tests.py
mpm@selenic.com
testing fixups...
r332
Matt Mackall
urls: bulk-change primary website URLs
r26421 See https://mercurial-scm.org/wiki/WritingTests for
Matt Mackall
Move test suite docs to the wiki
r3934 more information on writing tests.