Show More
@@ -75,7 +75,8 b' class converter_source(object):' | |||
|
75 | 75 | |
|
76 | 76 | def getfile(self, name, rev): |
|
77 | 77 | """Return file contents as a string. rev is the identifier returned |
|
78 | by a previous call to getchanges(). | |
|
78 | by a previous call to getchanges(). Raise IOError to indicate that | |
|
79 | name was deleted in rev. | |
|
79 | 80 | """ |
|
80 | 81 | raise NotImplementedError() |
|
81 | 82 | |
@@ -89,7 +90,7 b' class converter_source(object):' | |||
|
89 | 90 | """Returns a tuple of (files, copies). |
|
90 | 91 | |
|
91 | 92 | files is a sorted list of (filename, id) tuples for all files |
|
92 |
changed between version and it |
|
|
93 | changed between version and its first parent returned by | |
|
93 | 94 | getcommit(). id is the source revision id of the file. |
|
94 | 95 | |
|
95 | 96 | copies is a dictionary of dest: source |
@@ -79,6 +79,9 b' class converter(object):' | |||
|
79 | 79 | self.authors = {} |
|
80 | 80 | self.authorfile = None |
|
81 | 81 | |
|
82 | # Record converted revisions persistently: maps source revision | |
|
83 | # ID to target revision ID (both strings). (This is how | |
|
84 | # incremental conversions work.) | |
|
82 | 85 | self.map = mapfile(ui, revmapfile) |
|
83 | 86 | |
|
84 | 87 | # Read first the dst author map if any |
General Comments 0
You need to be logged in to leave comments.
Login now