hgext/largefiles/uisetup.py
branchstable
changeset 17878 d1d0140287b8
parent 17658 a02c1ffddae9
child 18144 e16982a74bf7
--- a/hgext/largefiles/uisetup.py	Tue Oct 23 21:07:14 2012 -0400
+++ b/hgext/largefiles/uisetup.py	Tue Oct 23 21:32:19 2012 -0400
@@ -168,3 +168,10 @@
         if name == 'transplant':
             extensions.wrapcommand(getattr(module, 'cmdtable'), 'transplant',
                 overrides.overridetransplant)
+        if name == 'convert':
+            convcmd = getattr(module, 'convcmd')
+            hgsink = getattr(convcmd, 'mercurial_sink')
+            extensions.wrapfunction(hgsink, 'before',
+                                    overrides.mercurialsinkbefore)
+            extensions.wrapfunction(hgsink, 'after',
+                                    overrides.mercurialsinkafter)