comparison hgext/convert/common.py @ 5356:f0931c0240b4

convert: add before/after hooks for converter sources
author Bryan O'Sullivan <bos@serpentine.com>
date Tue, 02 Oct 2007 13:46:17 -0700
parents c6f932d3e0f6
children 6aba1835a7b3
comparison
equal deleted inserted replaced
5352:cc34be74eeec 5356:f0931c0240b4
35 self.ui = ui 35 self.ui = ui
36 self.path = path 36 self.path = path
37 self.rev = rev 37 self.rev = rev
38 38
39 self.encoding = 'utf-8' 39 self.encoding = 'utf-8'
40
41 def before(self):
42 pass
43
44 def after(self):
45 pass
40 46
41 def setrevmap(self, revmap): 47 def setrevmap(self, revmap):
42 """set the map of already-converted revisions""" 48 """set the map of already-converted revisions"""
43 pass 49 pass
44 50