Show More
@@ -84,12 +84,12 b' class bundlerevlog(revlog.revlog):' | |||||
84 | for p in (p1, p2): |
|
84 | for p in (p1, p2): | |
85 | if not self.index.has_node(p): |
|
85 | if not self.index.has_node(p): | |
86 | raise error.LookupError( |
|
86 | raise error.LookupError( | |
87 |
p, self. |
|
87 | p, self.display_id, _(b"unknown parent") | |
88 | ) |
|
88 | ) | |
89 |
|
89 | |||
90 | if not self.index.has_node(deltabase): |
|
90 | if not self.index.has_node(deltabase): | |
91 | raise LookupError( |
|
91 | raise LookupError( | |
92 |
deltabase, self. |
|
92 | deltabase, self.display_id, _(b'unknown delta base') | |
93 | ) |
|
93 | ) | |
94 |
|
94 | |||
95 | baserev = self.rev(deltabase) |
|
95 | baserev = self.rev(deltabase) |
@@ -71,7 +71,7 b' class filelog(object):' | |||||
71 |
|
71 | |||
72 | def lookup(self, node): |
|
72 | def lookup(self, node): | |
73 | return storageutil.fileidlookup( |
|
73 | return storageutil.fileidlookup( | |
74 |
self._revlog, node, self._revlog. |
|
74 | self._revlog, node, self._revlog.display_id | |
75 | ) |
|
75 | ) | |
76 |
|
76 | |||
77 | def linkrev(self, rev): |
|
77 | def linkrev(self, rev): |
@@ -736,7 +736,7 b' class revlog(object):' | |||||
736 | or node in self.nodeconstants.wdirfilenodeids |
|
736 | or node in self.nodeconstants.wdirfilenodeids | |
737 | ): |
|
737 | ): | |
738 | raise error.WdirUnsupported |
|
738 | raise error.WdirUnsupported | |
739 |
raise error.LookupError(node, self. |
|
739 | raise error.LookupError(node, self.display_id, _(b'no node')) | |
740 |
|
740 | |||
741 | # Accessors for index entries. |
|
741 | # Accessors for index entries. | |
742 |
|
742 | |||
@@ -1446,7 +1446,7 b' class revlog(object):' | |||||
1446 | if n: |
|
1446 | if n: | |
1447 | return n |
|
1447 | return n | |
1448 |
|
1448 | |||
1449 |
raise error.LookupError(id, self. |
|
1449 | raise error.LookupError(id, self.display_id, _(b'no match found')) | |
1450 |
|
1450 | |||
1451 | def shortest(self, node, minlength=1): |
|
1451 | def shortest(self, node, minlength=1): | |
1452 | """Find the shortest unambiguous prefix that matches node.""" |
|
1452 | """Find the shortest unambiguous prefix that matches node.""" | |
@@ -1460,7 +1460,7 b' class revlog(object):' | |||||
1460 | # single 'ff...' match |
|
1460 | # single 'ff...' match | |
1461 | return True |
|
1461 | return True | |
1462 | if matchednode is None: |
|
1462 | if matchednode is None: | |
1463 |
raise error.LookupError(node, self. |
|
1463 | raise error.LookupError(node, self.display_id, _(b'no node')) | |
1464 | return True |
|
1464 | return True | |
1465 |
|
1465 | |||
1466 | def maybewdir(prefix): |
|
1466 | def maybewdir(prefix): | |
@@ -1482,7 +1482,7 b' class revlog(object):' | |||||
1482 | except error.RevlogError: |
|
1482 | except error.RevlogError: | |
1483 | if node != self.nodeconstants.wdirid: |
|
1483 | if node != self.nodeconstants.wdirid: | |
1484 | raise error.LookupError( |
|
1484 | raise error.LookupError( | |
1485 |
node, self. |
|
1485 | node, self.display_id, _(b'no node') | |
1486 | ) |
|
1486 | ) | |
1487 | except AttributeError: |
|
1487 | except AttributeError: | |
1488 | # Fall through to pure code |
|
1488 | # Fall through to pure code | |
@@ -2461,12 +2461,12 b' class revlog(object):' | |||||
2461 | for p in (p1, p2): |
|
2461 | for p in (p1, p2): | |
2462 | if not self.index.has_node(p): |
|
2462 | if not self.index.has_node(p): | |
2463 | raise error.LookupError( |
|
2463 | raise error.LookupError( | |
2464 |
p, self. |
|
2464 | p, self.radix, _(b'unknown parent') | |
2465 | ) |
|
2465 | ) | |
2466 |
|
2466 | |||
2467 | if not self.index.has_node(deltabase): |
|
2467 | if not self.index.has_node(deltabase): | |
2468 | raise error.LookupError( |
|
2468 | raise error.LookupError( | |
2469 |
deltabase, self. |
|
2469 | deltabase, self.display_id, _(b'unknown delta base') | |
2470 | ) |
|
2470 | ) | |
2471 |
|
2471 | |||
2472 | baserev = self.rev(deltabase) |
|
2472 | baserev = self.rev(deltabase) |
@@ -224,7 +224,7 b' revision 2' | |||||
224 | adding changesets |
|
224 | adding changesets | |
225 | transaction abort! |
|
225 | transaction abort! | |
226 | rollback completed |
|
226 | rollback completed | |
227 |
abort: 00changelog |
|
227 | abort: 00changelog@93ee6ab32777cd430e07da694794fb6a4f917712: unknown parent | |
228 | [50] |
|
228 | [50] | |
229 |
|
229 | |||
230 | revision 2 |
|
230 | revision 2 |
@@ -751,7 +751,7 b' test that verify bundle does not traceba' | |||||
751 | partial history bundle, fails w/ unknown parent |
|
751 | partial history bundle, fails w/ unknown parent | |
752 |
|
752 | |||
753 | $ hg -R bundle.hg verify |
|
753 | $ hg -R bundle.hg verify | |
754 |
abort: 00changelog |
|
754 | abort: 00changelog@bbd179dfa0a71671c253b3ae0aa1513b60d199fa: unknown parent | |
755 | [50] |
|
755 | [50] | |
756 |
|
756 | |||
757 | full history bundle, refuses to verify non-local repo |
|
757 | full history bundle, refuses to verify non-local repo |
@@ -292,12 +292,12 b' ensure that the filemap contains duplica' | |||||
292 | $ rm -rf source/.hg/store/data/dir/file4 |
|
292 | $ rm -rf source/.hg/store/data/dir/file4 | |
293 | #endif |
|
293 | #endif | |
294 | $ hg -q convert --filemap renames.fmap --datesort source dummydest |
|
294 | $ hg -q convert --filemap renames.fmap --datesort source dummydest | |
295 |
abort: data/dir/file3 |
|
295 | abort: data/dir/file3@e96dce0bc6a217656a3a410e5e6bec2c4f42bf7c: no match found (reporevlogstore !) | |
296 | abort: data/dir/file3/index@e96dce0bc6a2: no node (reposimplestore !) |
|
296 | abort: data/dir/file3/index@e96dce0bc6a2: no node (reposimplestore !) | |
297 | [50] |
|
297 | [50] | |
298 | $ hg -q convert --filemap renames.fmap --datesort --config convert.hg.ignoreerrors=1 source renames.repo |
|
298 | $ hg -q convert --filemap renames.fmap --datesort --config convert.hg.ignoreerrors=1 source renames.repo | |
299 |
ignoring: data/dir/file3 |
|
299 | ignoring: data/dir/file3@e96dce0bc6a217656a3a410e5e6bec2c4f42bf7c: no match found (reporevlogstore !) | |
300 |
ignoring: data/dir/file4 |
|
300 | ignoring: data/dir/file4@6edd55f559cdce67132b12ca09e09cee08b60442: no match found (reporevlogstore !) | |
301 | ignoring: data/dir/file3/index@e96dce0bc6a2: no node (reposimplestore !) |
|
301 | ignoring: data/dir/file3/index@e96dce0bc6a2: no node (reposimplestore !) | |
302 | ignoring: data/dir/file4/index@6edd55f559cd: no node (reposimplestore !) |
|
302 | ignoring: data/dir/file4/index@6edd55f559cd: no node (reposimplestore !) | |
303 | $ hg up -q -R renames.repo |
|
303 | $ hg up -q -R renames.repo |
@@ -182,7 +182,7 b' break it' | |||||
182 | sorting... |
|
182 | sorting... | |
183 | converting... |
|
183 | converting... | |
184 | 4 init |
|
184 | 4 init | |
185 |
ignoring: data/b |
|
185 | ignoring: data/b@1e88685f5ddec574a34c70af492f95b6debc8741: no match found (reporevlogstore !) | |
186 | ignoring: data/b/index@1e88685f5dde: no node (reposimplestore !) |
|
186 | ignoring: data/b/index@1e88685f5dde: no node (reposimplestore !) | |
187 | 3 changeall |
|
187 | 3 changeall | |
188 | 2 changebagain |
|
188 | 2 changebagain |
@@ -105,7 +105,7 b' TODO: this should be successful' | |||||
105 | remote: adding file changes |
|
105 | remote: adding file changes | |
106 | remote: transaction abort! |
|
106 | remote: transaction abort! | |
107 | remote: rollback completed |
|
107 | remote: rollback completed | |
108 |
remote: abort: data/inside2/f |
|
108 | remote: abort: data/inside2/f@4a1aa07735e673e20c00fae80f40dc301ee30616: unknown parent (reporevlogstore !) | |
109 | remote: abort: data/inside2/f/index@4a1aa07735e6: no node (reposimplestore !) |
|
109 | remote: abort: data/inside2/f/index@4a1aa07735e6: no node (reposimplestore !) | |
110 | abort: stream ended unexpectedly (got 0 bytes, expected 4) |
|
110 | abort: stream ended unexpectedly (got 0 bytes, expected 4) | |
111 | [255] |
|
111 | [255] | |
@@ -218,8 +218,8 b" TODO: lfs shouldn't abort like this" | |||||
218 | remote: adding manifests |
|
218 | remote: adding manifests | |
219 | remote: adding file changes |
|
219 | remote: adding file changes | |
220 | remote: added 1 changesets with 0 changes to 0 files (no-lfs-on !) |
|
220 | remote: added 1 changesets with 0 changes to 0 files (no-lfs-on !) | |
221 |
remote: error: pretxnchangegroup.lfs hook raised an exception: data/inside2/f |
|
221 | remote: error: pretxnchangegroup.lfs hook raised an exception: data/inside2/f@f59b4e0218355383d2789196f1092abcf2262b0c: no match found (lfs-on !) | |
222 | remote: transaction abort! (lfs-on !) |
|
222 | remote: transaction abort! (lfs-on !) | |
223 | remote: rollback completed (lfs-on !) |
|
223 | remote: rollback completed (lfs-on !) | |
224 |
remote: abort: data/inside2/f |
|
224 | remote: abort: data/inside2/f@f59b4e0218355383d2789196f1092abcf2262b0c: no match found (lfs-on !) | |
225 | abort: stream ended unexpectedly (got 0 bytes, expected 4) (lfs-on !) |
|
225 | abort: stream ended unexpectedly (got 0 bytes, expected 4) (lfs-on !) |
@@ -185,7 +185,7 b' Test recovery from misconfigured server ' | |||||
185 | adding changesets |
|
185 | adding changesets | |
186 | adding manifests |
|
186 | adding manifests | |
187 | adding file changes |
|
187 | adding file changes | |
188 |
abort: 00changelog |
|
188 | abort: 00changelog@66f7d451a68b85ed82ff5fcc254daf50c74144bd: no node | |
189 | [50] |
|
189 | [50] | |
190 | $ cd .. |
|
190 | $ cd .. | |
191 | $ killdaemons.py |
|
191 | $ killdaemons.py |
General Comments 0
You need to be logged in to leave comments.
Login now