diff 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
line wrap: on
line diff
--- a/hgext/convert/common.py	Sat Sep 29 21:10:54 2007 -0700
+++ b/hgext/convert/common.py	Tue Oct 02 13:46:17 2007 -0700
@@ -38,6 +38,12 @@
 
         self.encoding = 'utf-8'
 
+    def before(self):
+        pass
+
+    def after(self):
+        pass
+
     def setrevmap(self, revmap):
         """set the map of already-converted revisions"""
         pass