Show More
@@ -674,12 +674,10 b' class HgRemote(object):' | |||||
674 | @reraise_safe_exceptions |
|
674 | @reraise_safe_exceptions | |
675 | def ancestor(self, wire, revision1, revision2): |
|
675 | def ancestor(self, wire, revision1, revision2): | |
676 | repo = self._factory.repo(wire) |
|
676 | repo = self._factory.repo(wire) | |
677 | baseui = self._factory._create_config(wire['config']) |
|
677 | changelog = repo.changelog | |
678 | output = io.BytesIO() |
|
678 | lookup = repo.lookup | |
679 | baseui.write = output.write |
|
679 | a = changelog.ancestor(lookup(revision1), lookup(revision2)) | |
680 | commands.debugancestor(baseui, repo, revision1, revision2) |
|
680 | return hex(a) | |
681 |
|
||||
682 | return output.getvalue() |
|
|||
683 |
|
681 | |||
684 | @reraise_safe_exceptions |
|
682 | @reraise_safe_exceptions | |
685 | def push(self, wire, revisions, dest_path, hooks=True, |
|
683 | def push(self, wire, revisions, dest_path, hooks=True, |
General Comments 0
You need to be logged in to leave comments.
Login now