##// END OF EJS Templates
convert: drop unused getheads from sinks
Mads Kiilerich -
r20397:d7e78e6d default
parent child Browse files
Show More
@@ -192,10 +192,6 b' class converter_sink(object):'
192 192 self.path = path
193 193 self.created = []
194 194
195 def getheads(self):
196 """Return a list of this repository's heads"""
197 raise NotImplementedError
198
199 195 def revmapfile(self):
200 196 """Path to a file that will contain lines
201 197 source_rev_id sink_rev_id
@@ -78,10 +78,6 b' class mercurial_sink(converter_sink):'
78 78 def authorfile(self):
79 79 return self.repo.join("authormap")
80 80
81 def getheads(self):
82 h = self.repo.changelog.heads()
83 return [hex(x) for x in h]
84
85 81 def setbranch(self, branch, pbranches):
86 82 if not self.clonebranches:
87 83 return
General Comments 0
You need to be logged in to leave comments. Login now