changeset 20397:d7e78e6d97bd

convert: drop unused getheads from sinks
author Mads Kiilerich <madski@unity3d.com>
date Fri, 07 Feb 2014 17:26:28 +0100
parents a8e6ab7eb361
children 2bc520bd0ce0
files hgext/convert/common.py hgext/convert/hg.py
diffstat 2 files changed, 0 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- 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
--- 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