# HG changeset patch # User Mads Kiilerich # Date 1391790388 -3600 # Node ID d7e78e6d97bd338e5ec0873c759f1ee36c8c3074 # Parent a8e6ab7eb361411313508d4ffdb9fc24fcef40d9 convert: drop unused getheads from sinks diff -r a8e6ab7eb361 -r d7e78e6d97bd hgext/convert/common.py --- a/hgext/convert/common.py Sat Feb 08 10:41:17 2014 +0100 +++ b/hgext/convert/common.py Fri Feb 07 17:26:28 2014 +0100 @@ -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 -r a8e6ab7eb361 -r d7e78e6d97bd hgext/convert/hg.py --- a/hgext/convert/hg.py Sat Feb 08 10:41:17 2014 +0100 +++ b/hgext/convert/hg.py Fri Feb 07 17:26:28 2014 +0100 @@ -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