Show More
@@ -216,6 +216,7 b' class convert(object):' | |||
|
216 | 216 | |
|
217 | 217 | def convert(self): |
|
218 | 218 | try: |
|
219 | self.source.setrevmap(self.map) | |
|
219 | 220 | self.ui.status("scanning source...\n") |
|
220 | 221 | heads = self.source.getheads() |
|
221 | 222 | parents = self.walktree(heads) |
@@ -22,6 +22,11 b' class converter_source(object):' | |||
|
22 | 22 | self.rev = rev |
|
23 | 23 | |
|
24 | 24 | self.encoding = 'utf-8' |
|
25 | self.revmap = {} | |
|
26 | ||
|
27 | def setrevmap(self, revmap): | |
|
28 | """set the map of already-converted revisions""" | |
|
29 | self.revmap = revmap | |
|
25 | 30 | |
|
26 | 31 | def getheads(self): |
|
27 | 32 | """Return a list of this repository's heads""" |
General Comments 0
You need to be logged in to leave comments.
Login now