Show More
@@ -82,6 +82,13 b' class converter_source(object):' | |||||
82 | def after(self): |
|
82 | def after(self): | |
83 | pass |
|
83 | pass | |
84 |
|
84 | |||
|
85 | def targetfilebelongstosource(self, targetfilename): | |||
|
86 | """Returns true if the given targetfile belongs to the source repo. This | |||
|
87 | is useful when only a subdirectory of the target belongs to the source | |||
|
88 | repo.""" | |||
|
89 | # For normal full repo converts, this is always True. | |||
|
90 | return True | |||
|
91 | ||||
85 | def setrevmap(self, revmap): |
|
92 | def setrevmap(self, revmap): | |
86 | """set the map of already-converted revisions""" |
|
93 | """set the map of already-converted revisions""" | |
87 | pass |
|
94 | pass |
@@ -120,6 +120,9 b' class progresssource(object):' | |||||
120 | item=file, total=self.filecount) |
|
120 | item=file, total=self.filecount) | |
121 | return self.source.getfile(file, rev) |
|
121 | return self.source.getfile(file, rev) | |
122 |
|
122 | |||
|
123 | def targetfilebelongstosource(self, targetfilename): | |||
|
124 | return self.source.targetfilebelongstosource(targetfilename) | |||
|
125 | ||||
123 | def lookuprev(self, rev): |
|
126 | def lookuprev(self, rev): | |
124 | return self.source.lookuprev(rev) |
|
127 | return self.source.lookuprev(rev) | |
125 |
|
128 |
General Comments 0
You need to be logged in to leave comments.
Login now