##// END OF EJS Templates
transactions: fix hg recover with fncache backups...
transactions: fix hg recover with fncache backups The transaction backupfiles logic was broken for 'hg recover'. The file format is XXX\0XXX\0YYY\0YYY\0 but the parser did a couple things wrong. 1) It went one step beyond the final \0 and tried to read past the end of the array. 2) array[i:i+1] returns a single item, instead of two items as intended. Added a test to catch it, which turns out to be the first actual 'hg recover' test.

File last commit:

r0:9117c656 default
r23063:cd86a670 stable
Show More
__init__.py
0 lines | 0 B | text/x-python | PythonLexer