hgext/largefiles/reposetup.py
branchstable
changeset 20858 bc56ec9e64df
parent 20177 c5f0574034ef
child 20860 81d6dc8c3c63
--- a/hgext/largefiles/reposetup.py	Thu Mar 27 17:21:27 2014 -0500
+++ b/hgext/largefiles/reposetup.py	Sat Mar 29 01:20:07 2014 +0900
@@ -16,14 +16,13 @@
 from mercurial import localrepo
 
 import lfcommands
-import proto
 import lfutil
 
 def reposetup(ui, repo):
-    # wire repositories should be given new wireproto functions but not the
-    # other largefiles modifications
+    # wire repositories should be given new wireproto functions
+    # by "proto.wirereposetup()" via "hg.wirepeersetupfuncs"
     if not repo.local():
-        return proto.wirereposetup(ui, repo)
+        return
 
     class lfilesrepo(repo.__class__):
         lfstatus = False