##// END OF EJS Templates
narrow: use featuresetupfuncs...
Gregory Szorc -
r37154:e2d386b8 default
parent child Browse files
Show More
@@ -56,10 +56,12 b" configitem('experimental', 'narrowserveb"
56 # Export the commands table for Mercurial to see.
56 # Export the commands table for Mercurial to see.
57 cmdtable = narrowcommands.table
57 cmdtable = narrowcommands.table
58
58
59 localrepo.localrepository._basesupported.add(changegroup.NARROW_REQUIREMENT)
59 def featuresetup(ui, features):
60 features.add(changegroup.NARROW_REQUIREMENT)
60
61
61 def uisetup(ui):
62 def uisetup(ui):
62 """Wraps user-facing mercurial commands with narrow-aware versions."""
63 """Wraps user-facing mercurial commands with narrow-aware versions."""
64 localrepo.featuresetupfuncs.add(featuresetup)
63 narrowrevlog.setup()
65 narrowrevlog.setup()
64 narrowbundle2.setup()
66 narrowbundle2.setup()
65 narrowmerge.setup()
67 narrowmerge.setup()
General Comments 0
You need to be logged in to leave comments. Login now