##// END OF EJS Templates
compat: normalise path before comparison in revlog splitting test...
Raphaël Gomès -
r48361:8e929591 default
parent child Browse files
Show More
@@ -10,14 +10,13 b' Helper extension to intercept renames.'
10 10 >
11 11 > def extsetup(ui):
12 12 > def close(orig, *args, **kwargs):
13 > path = args[0]._atomictempfile__name
13 > path = util.normpath(args[0]._atomictempfile__name)
14 14 > if path.endswith(b'/.hg/store/data/file.i'):
15 15 > os._exit(80)
16 16 > return orig(*args, **kwargs)
17 17 > extensions.wrapfunction(util.atomictempfile, 'close', close)
18 18 > EOF
19 19
20
21 20 Test offset computation to correctly factor in the index entries themselve.
22 21 Also test that the new data size has the correct size if the transaction is aborted
23 22 after the index has been replaced.
General Comments 0
You need to be logged in to leave comments. Login now