Submitter | Mads Kiilerich |
---|---|
Date | Feb. 7, 2014, 4:37 p.m. |
Message ID | <cf8937085fd16e616c56.1391791030@mk-desktop> |
Download | mbox | patch |
Permalink | /patch/3512/ |
State | Accepted |
Commit | d7e78e6d97bd338e5ec0873c759f1ee36c8c3074 |
Headers | show |
Comments
Patch
diff --git a/hgext/convert/common.py b/hgext/convert/common.py --- a/hgext/convert/common.py +++ b/hgext/convert/common.py @@ -192,10 +192,6 @@ self.path = path self.created = [] - def getheads(self): - """Return a list of this repository's heads""" - raise NotImplementedError - def revmapfile(self): """Path to a file that will contain lines source_rev_id sink_rev_id diff --git a/hgext/convert/hg.py b/hgext/convert/hg.py --- a/hgext/convert/hg.py +++ b/hgext/convert/hg.py @@ -78,10 +78,6 @@ def authorfile(self): return self.repo.join("authormap") - def getheads(self): - h = self.repo.changelog.heads() - return [hex(x) for x in h] - def setbranch(self, branch, pbranches): if not self.clonebranches: return