Mercurial > hg
comparison hgext/convert/filemap.py @ 5799:4b82d1a84db8
convert: filemap must call base converter before()/after() actions
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Fri, 04 Jan 2008 23:23:47 +0100 |
parents | 4c555dd167dd |
children | a8e4a94b0a43 |
comparison
equal
deleted
inserted
replaced
5753:ea1016b32e94 | 5799:4b82d1a84db8 |
---|---|
126 self._rebuilt = False | 126 self._rebuilt = False |
127 self.origparents = {} | 127 self.origparents = {} |
128 self.children = {} | 128 self.children = {} |
129 self.seenchildren = {} | 129 self.seenchildren = {} |
130 | 130 |
131 def before(self): | |
132 self.base.before() | |
133 | |
134 def after(self): | |
135 self.base.after() | |
136 | |
131 def setrevmap(self, revmap, order): | 137 def setrevmap(self, revmap, order): |
132 # rebuild our state to make things restartable | 138 # rebuild our state to make things restartable |
133 # | 139 # |
134 # To avoid calling getcommit for every revision that has already | 140 # To avoid calling getcommit for every revision that has already |
135 # been converted, we rebuild only the parentmap, delaying the | 141 # been converted, we rebuild only the parentmap, delaying the |