Show More
@@ -490,7 +490,7 b' class revlog(object):' | |||
|
490 | 490 | if flags: |
|
491 | 491 | raise error.RevlogError( |
|
492 | 492 | _(b'unknown flags (%#04x) in version %d revlog %s') |
|
493 |
% (flags >> 16, fmt, self. |
|
|
493 | % (flags >> 16, fmt, self.display_id) | |
|
494 | 494 | ) |
|
495 | 495 | |
|
496 | 496 | self._inline = False |
@@ -500,7 +500,7 b' class revlog(object):' | |||
|
500 | 500 | if flags & ~REVLOGV1_FLAGS: |
|
501 | 501 | raise error.RevlogError( |
|
502 | 502 | _(b'unknown flags (%#04x) in version %d revlog %s') |
|
503 |
% (flags >> 16, fmt, self. |
|
|
503 | % (flags >> 16, fmt, self.display_id) | |
|
504 | 504 | ) |
|
505 | 505 | |
|
506 | 506 | self._inline = versionflags & FLAG_INLINE_DATA |
@@ -510,7 +510,7 b' class revlog(object):' | |||
|
510 | 510 | if flags & ~REVLOGV2_FLAGS: |
|
511 | 511 | raise error.RevlogError( |
|
512 | 512 | _(b'unknown flags (%#04x) in version %d revlog %s') |
|
513 |
% (flags >> 16, fmt, self. |
|
|
513 | % (flags >> 16, fmt, self.display_id) | |
|
514 | 514 | ) |
|
515 | 515 | |
|
516 | 516 | # There is a bug in the transaction handling when going from an |
@@ -523,7 +523,7 b' class revlog(object):' | |||
|
523 | 523 | |
|
524 | 524 | else: |
|
525 | 525 | raise error.RevlogError( |
|
526 |
_(b'unknown version (%d) in revlog %s') % (fmt, self. |
|
|
526 | _(b'unknown version (%d) in revlog %s') % (fmt, self.display_id) | |
|
527 | 527 | ) |
|
528 | 528 | |
|
529 | 529 | self.nodeconstants = sha1nodeconstants |
@@ -2990,7 +2990,7 b' class revlog(object):' | |||
|
2990 | 2990 | if version != state[b'expectedversion']: |
|
2991 | 2991 | yield revlogproblem( |
|
2992 | 2992 | warning=_(b"warning: '%s' uses revlog format %d; expected %d") |
|
2993 |
% (self. |
|
|
2993 | % (self.display_id, version, state[b'expectedversion']) | |
|
2994 | 2994 | ) |
|
2995 | 2995 | |
|
2996 | 2996 | state[b'skipread'] = set() |
@@ -5,7 +5,7 b'' | |||
|
5 | 5 | $ hg commit -m test |
|
6 | 6 | $ rm .hg/requires |
|
7 | 7 | $ hg tip |
|
8 |
abort: unknown version (65535) in revlog 00changelog |
|
|
8 | abort: unknown version (65535) in revlog 00changelog | |
|
9 | 9 | [50] |
|
10 | 10 | $ echo indoor-pool > .hg/requires |
|
11 | 11 | $ hg tip |
@@ -37,7 +37,7 b' Unknown flags to revlog are rejected' | |||
|
37 | 37 | ... fh.write(b'\xff\x00\xde\xad') and None |
|
38 | 38 | |
|
39 | 39 | $ hg log |
|
40 |
abort: unknown flags (0xff00) in version 57005 revlog 00changelog |
|
|
40 | abort: unknown flags (0xff00) in version 57005 revlog 00changelog | |
|
41 | 41 | [50] |
|
42 | 42 | |
|
43 | 43 | $ cd .. |
@@ -7,7 +7,7 b' Flags on revlog version 0 are rejected' | |||
|
7 | 7 | ... fh.write(b'\x00\x01\x00\x00') and None |
|
8 | 8 | |
|
9 | 9 | $ hg log |
|
10 |
abort: unknown flags (0x01) in version 0 revlog 00changelog |
|
|
10 | abort: unknown flags (0x01) in version 0 revlog 00changelog | |
|
11 | 11 | [50] |
|
12 | 12 | |
|
13 | 13 | Unknown flags on revlog version 1 are rejected |
@@ -16,7 +16,7 b' Unknown flags on revlog version 1 are re' | |||
|
16 | 16 | ... fh.write(b'\x00\x04\x00\x01') and None |
|
17 | 17 | |
|
18 | 18 | $ hg log |
|
19 |
abort: unknown flags (0x04) in version 1 revlog 00changelog |
|
|
19 | abort: unknown flags (0x04) in version 1 revlog 00changelog | |
|
20 | 20 | [50] |
|
21 | 21 | |
|
22 | 22 | Unknown version is rejected |
@@ -25,7 +25,7 b' Unknown version is rejected' | |||
|
25 | 25 | ... fh.write(b'\x00\x00\xbe\xef') and None |
|
26 | 26 | |
|
27 | 27 | $ hg log |
|
28 |
abort: unknown version (48879) in revlog 00changelog |
|
|
28 | abort: unknown version (48879) in revlog 00changelog | |
|
29 | 29 | [50] |
|
30 | 30 | |
|
31 | 31 | $ cd .. |
General Comments 0
You need to be logged in to leave comments.
Login now