hgext/largefiles/uisetup.py
changeset 35564 cf841f2b5a72
parent 35511 95a9be56c3bb
child 35846 742ce6fbc109
child 36016 625038cb4b1d
--- a/hgext/largefiles/uisetup.py	Thu Dec 21 13:53:26 2017 +0100
+++ b/hgext/largefiles/uisetup.py	Thu Dec 21 13:57:57 2017 +0100
@@ -31,6 +31,7 @@
     sshpeer,
     subrepo,
     upgrade,
+    url,
     wireproto,
 )
 
@@ -160,6 +161,9 @@
     extensions.wrapfunction(scmutil, 'marktouched',
                             overrides.scmutilmarktouched)
 
+    extensions.wrapfunction(url, 'open',
+                            overrides.openlargefile)
+
     # create the new wireproto commands ...
     wireproto.commands['putlfile'] = (proto.putlfile, 'sha')
     wireproto.commands['getlfile'] = (proto.getlfile, 'sha')