diff hgext/convert/common.py @ 5554:2147a734dcf9

convert: tell the source repository when a rev has been converted This lets us roundtrip changes between svn and hg.
author Bryan O'Sullivan <bos@serpentine.com>
date Mon, 26 Nov 2007 17:23:20 -0800
parents 5499dbb445de
children 61fdf2558c0a
line wrap: on
line diff
--- a/hgext/convert/common.py	Mon Nov 26 14:01:31 2007 -0800
+++ b/hgext/convert/common.py	Mon Nov 26 17:23:20 2007 -0800
@@ -115,6 +115,11 @@
         """
         raise NotImplementedError()
 
+    def converted(self, rev, sinkrev):
+        '''Notify the source that a revision has been converted.'''
+        pass
+
+
 class converter_sink(object):
     """Conversion sink (target) interface"""