hgext/convert/hg.py
changeset 5805 e422305e0853
parent 5556 61fdf2558c0a
child 5838 1cf99a3e269e
--- a/hgext/convert/hg.py	Fri Jan 04 23:43:55 2008 +0100
+++ b/hgext/convert/hg.py	Fri Jan 04 23:43:55 2008 +0100
@@ -46,11 +46,13 @@
         self.filemapmode = False
 
     def before(self):
+        self.ui.debug(_('run hg sink pre-conversion action\n'))
         self.wlock = self.repo.wlock()
         self.lock = self.repo.lock()
         self.repo.dirstate.clear()
 
     def after(self):
+        self.ui.debug(_('run hg sink post-conversion action\n'))
         self.repo.dirstate.invalidate()
         self.lock = None
         self.wlock = None
@@ -274,3 +276,9 @@
                                   'a')
         self.convertfp.write('%s %s\n' % (destrev, rev))
         self.convertfp.flush()
+
+    def before(self):
+        self.ui.debug(_('run hg source pre-conversion action\n'))
+
+    def after(self):
+        self.ui.debug(_('run hg source post-conversion action\n'))