--- a/hgext/largefiles/__init__.py Wed Oct 02 21:16:40 2013 +0900
+++ b/hgext/largefiles/__init__.py Thu Oct 17 21:45:17 2013 +0900
@@ -105,7 +105,7 @@
command.
'''
-from mercurial import commands, localrepo, extensions
+from mercurial import commands, localrepo
import lfcommands
import reposetup
@@ -116,11 +116,8 @@
reposetup = reposetup.reposetup
def featuresetup(ui, supported):
- for name, module in extensions.extensions(ui):
- if __name__ == module.__name__:
- # don't die on seeing a repo with the largefiles requirement
- supported |= set(['largefiles'])
- return
+ # don't die on seeing a repo with the largefiles requirement
+ supported |= set(['largefiles'])
def uisetup(ui):
localrepo.localrepository.featuresetupfuncs.add(featuresetup)