2 $ cd empty-repo |
2 $ cd empty-repo |
3 |
3 |
4 Flags on revlog version 0 are rejected |
4 Flags on revlog version 0 are rejected |
5 |
5 |
6 >>> with open('.hg/store/00changelog.i', 'wb') as fh: |
6 >>> with open('.hg/store/00changelog.i', 'wb') as fh: |
7 ... fh.write(b'\x00\x01\x00\x00') |
7 ... fh.write(b'\x00\x01\x00\x00') and None |
8 |
8 |
9 $ hg log |
9 $ hg log |
10 abort: unknown flags (0x01) in version 0 revlog 00changelog.i! |
10 abort: unknown flags (0x01) in version 0 revlog 00changelog.i! |
11 [255] |
11 [255] |
12 |
12 |
13 Unknown flags on revlog version 1 are rejected |
13 Unknown flags on revlog version 1 are rejected |
14 |
14 |
15 >>> with open('.hg/store/00changelog.i', 'wb') as fh: |
15 >>> with open('.hg/store/00changelog.i', 'wb') as fh: |
16 ... fh.write(b'\x00\x04\x00\x01') |
16 ... fh.write(b'\x00\x04\x00\x01') and None |
17 |
17 |
18 $ hg log |
18 $ hg log |
19 abort: unknown flags (0x04) in version 1 revlog 00changelog.i! |
19 abort: unknown flags (0x04) in version 1 revlog 00changelog.i! |
20 [255] |
20 [255] |
21 |
21 |
22 Unknown version is rejected |
22 Unknown version is rejected |
23 |
23 |
24 >>> with open('.hg/store/00changelog.i', 'wb') as fh: |
24 >>> with open('.hg/store/00changelog.i', 'wb') as fh: |
25 ... fh.write(b'\x00\x00\x00\x02') |
25 ... fh.write(b'\x00\x00\x00\x02') and None |
26 |
26 |
27 $ hg log |
27 $ hg log |
28 abort: unknown version (2) in revlog 00changelog.i! |
28 abort: unknown version (2) in revlog 00changelog.i! |
29 [255] |
29 [255] |
30 |
30 |