Show More
@@ -1760,7 +1760,7 b' class revlog(object):' | |||
|
1760 | 1760 | elif compression_mode == COMP_MODE_INLINE: |
|
1761 | 1761 | return self.decompress(data) |
|
1762 | 1762 | else: |
|
1763 | msg = 'unknown compression mode %d' | |
|
1763 | msg = b'unknown compression mode %d' | |
|
1764 | 1764 | msg %= compression_mode |
|
1765 | 1765 | raise error.RevlogError(msg) |
|
1766 | 1766 | |
@@ -1826,7 +1826,7 b' class revlog(object):' | |||
|
1826 | 1826 | elif comp_mode == COMP_MODE_DEFAULT: |
|
1827 | 1827 | ladd(def_decomp(c)) |
|
1828 | 1828 | else: |
|
1829 | msg = 'unknown compression mode %d' | |
|
1829 | msg = b'unknown compression mode %d' | |
|
1830 | 1830 | msg %= comp_mode |
|
1831 | 1831 | raise error.RevlogError(msg) |
|
1832 | 1832 | |
@@ -2054,7 +2054,7 b' class revlog(object):' | |||
|
2054 | 2054 | elif comp == COMP_MODE_INLINE: |
|
2055 | 2055 | segment = self.decompress(comp_segment) |
|
2056 | 2056 | else: |
|
2057 | msg = 'unknown compression mode %d' | |
|
2057 | msg = b'unknown compression mode %d' | |
|
2058 | 2058 | msg %= comp |
|
2059 | 2059 | raise error.RevlogError(msg) |
|
2060 | 2060 |
General Comments 0
You need to be logged in to leave comments.
Login now