Show More
@@ -1254,7 +1254,7 b' class revlog(object):' | |||||
1254 | cachedelta[1]) |
|
1254 | cachedelta[1]) | |
1255 | else: |
|
1255 | else: | |
1256 | textlen = len(text) |
|
1256 | textlen = len(text) | |
1257 | if (d is None or dist > textlen * 2 or |
|
1257 | if (d is None or dist > textlen * 2 or l > textlen or | |
1258 | (self._maxchainlen and chainlen > self._maxchainlen)): |
|
1258 | (self._maxchainlen and chainlen > self._maxchainlen)): | |
1259 | text = buildtext() |
|
1259 | text = buildtext() | |
1260 | data = self.compress(text) |
|
1260 | data = self.compress(text) |
@@ -184,7 +184,7 b' should show no parents for tip' | |||||
184 | rev offset length ..... linkrev nodeid p1 p2 (re) |
|
184 | rev offset length ..... linkrev nodeid p1 p2 (re) | |
185 | 0 0 69 ..... 1 7711d36246cc 000000000000 000000000000 (re) |
|
185 | 0 0 69 ..... 1 7711d36246cc 000000000000 000000000000 (re) | |
186 | 1 69 6 ..... 2 bdf70a2b8d03 7711d36246cc 000000000000 (re) |
|
186 | 1 69 6 ..... 2 bdf70a2b8d03 7711d36246cc 000000000000 (re) | |
187 |
2 75 |
|
187 | 2 75 71 ..... 3 b2558327ea8d 000000000000 000000000000 (re) | |
188 | should match |
|
188 | should match | |
189 | $ hg debugindex foo |
|
189 | $ hg debugindex foo | |
190 | rev offset length ..... linkrev nodeid p1 p2 (re) |
|
190 | rev offset length ..... linkrev nodeid p1 p2 (re) |
@@ -90,8 +90,8 b' Killing a single changeset with replacem' | |||||
90 | # rev p1rev p2rev start end deltastart base p1 p2 rawsize totalsize compression heads chainlen |
|
90 | # rev p1rev p2rev start end deltastart base p1 p2 rawsize totalsize compression heads chainlen | |
91 | 0 -1 -1 0 59 0 0 0 0 58 58 0 1 0 |
|
91 | 0 -1 -1 0 59 0 0 0 0 58 58 0 1 0 | |
92 | 1 0 -1 59 118 59 59 0 0 58 116 0 1 0 |
|
92 | 1 0 -1 59 118 59 59 0 0 58 116 0 1 0 | |
93 |
2 1 -1 118 |
|
93 | 2 1 -1 118 193 118 118 59 0 76 192 0 1 0 | |
94 |
3 1 -1 |
|
94 | 3 1 -1 193 260 193 193 59 0 66 258 0 2 0 | |
95 | $ hg debugobsolete |
|
95 | $ hg debugobsolete | |
96 | 245bde4270cd1072a27757984f9cda8ba26f08ca cdbce2fbb16313928851e97e0d85413f3f7eb77f C (Thu Jan 01 00:00:01 1970 -0002) {'user': 'test'} |
|
96 | 245bde4270cd1072a27757984f9cda8ba26f08ca cdbce2fbb16313928851e97e0d85413f3f7eb77f C (Thu Jan 01 00:00:01 1970 -0002) {'user': 'test'} | |
97 |
|
97 |
@@ -87,7 +87,7 b' relink' | |||||
87 | pruned down to 2 probably relinkable files |
|
87 | pruned down to 2 probably relinkable files | |
88 | relinking: data/a.i 1/2 files (50.00%) |
|
88 | relinking: data/a.i 1/2 files (50.00%) | |
89 | not linkable: data/dummy.i |
|
89 | not linkable: data/dummy.i | |
90 |
relinked 1 files (1.3 |
|
90 | relinked 1 files (1.36 KB reclaimed) | |
91 | $ cd .. |
|
91 | $ cd .. | |
92 |
|
92 | |||
93 |
|
93 |
@@ -18,6 +18,6 b' this should be stored as a delta against' | |||||
18 | $ hg debugindex foo |
|
18 | $ hg debugindex foo | |
19 | rev offset length ..... linkrev nodeid p1 p2 (re) |
|
19 | rev offset length ..... linkrev nodeid p1 p2 (re) | |
20 | 0 0 0 ..... 0 b80de5d13875 000000000000 000000000000 (re) |
|
20 | 0 0 0 ..... 0 b80de5d13875 000000000000 000000000000 (re) | |
21 |
1 0 |
|
21 | 1 0 13 ..... 1 0376abec49b8 000000000000 000000000000 (re) | |
22 |
|
22 | |||
23 | $ cd .. |
|
23 | $ cd .. |
General Comments 0
You need to be logged in to leave comments.
Login now