Show More
@@ -321,7 +321,13 b' class p4_source(common.converter_source)' | |||||
321 | return marshal.load(stdout) |
|
321 | return marshal.load(stdout) | |
322 |
|
322 | |||
323 | def getcommit(self, rev): |
|
323 | def getcommit(self, rev): | |
324 |
|
|
324 | if rev in self.changeset: | |
|
325 | return self.changeset[rev] | |||
|
326 | elif rev in self.revmap: | |||
|
327 | d = self._fetch_revision(rev) | |||
|
328 | return self._construct_commit(d, parents=None) | |||
|
329 | raise error.Abort( | |||
|
330 | _("cannot find %s in the revmap or parsed changesets") % rev) | |||
325 |
|
331 | |||
326 | def gettags(self): |
|
332 | def gettags(self): | |
327 | return {} |
|
333 | return {} |
General Comments 0
You need to be logged in to leave comments.
Login now