changeset 50174 | 596a6b9b0570 |
parent 49975 | 562f7da122b5 |
child 50196 | 2a7e8471782c |
50173:bf27727e6c78 | 50174:596a6b9b0570 |
---|---|
86 raise error.LookupError( |
86 raise error.LookupError( |
87 p, self.display_id, _(b"unknown parent") |
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 error.LookupError( |
92 deltabase, self.display_id, _(b'unknown delta base') |
92 deltabase, self.display_id, _(b'unknown delta base') |
93 ) |
93 ) |
94 |
94 |
95 baserev = self.rev(deltabase) |
95 baserev = self.rev(deltabase) |
96 # start, size, full unc. size, base (unused), link, p1, p2, node, sidedata_offset (unused), sidedata_size (unused) |
96 # start, size, full unc. size, base (unused), link, p1, p2, node, sidedata_offset (unused), sidedata_size (unused) |
456 shutil.rmtree(self._tempparent, True) |
456 shutil.rmtree(self._tempparent, True) |
457 |
457 |
458 def cancopy(self): |
458 def cancopy(self): |
459 return False |
459 return False |
460 |
460 |
461 def peer(self): |
461 def peer(self, path=None): |
462 return bundlepeer(self) |
462 return bundlepeer(self, path=path) |
463 |
463 |
464 def getcwd(self): |
464 def getcwd(self): |
465 return encoding.getcwd() # always outside the repo |
465 return encoding.getcwd() # always outside the repo |
466 |
466 |
467 # Check if parents exist in localrepo before setting |
467 # Check if parents exist in localrepo before setting |