Mercurial > hg > mercurial-crew-with-dirclash
comparison hgext/convert/common.py @ 4811:a5209b0487e0
convert: export revmap to source.
Sources may be able to use it to optimise their own log fetching
author | Brendan Cully <brendan@kublai.com> |
---|---|
date | Thu, 05 Jul 2007 12:24:26 -0700 |
parents | c2d529f288a1 |
children | 1fcdf2fe3d7c |
comparison
equal
deleted
inserted
replaced
4810:f7c8222920ee | 4811:a5209b0487e0 |
---|---|
20 self.ui = ui | 20 self.ui = ui |
21 self.path = path | 21 self.path = path |
22 self.rev = rev | 22 self.rev = rev |
23 | 23 |
24 self.encoding = 'utf-8' | 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 def getheads(self): | 31 def getheads(self): |
27 """Return a list of this repository's heads""" | 32 """Return a list of this repository's heads""" |
28 raise NotImplementedError() | 33 raise NotImplementedError() |
29 | 34 |