Show More
@@ -56,10 +56,12 b" configitem('experimental', 'narrowserveb" | |||
|
56 | 56 | # Export the commands table for Mercurial to see. |
|
57 | 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 | 62 | def uisetup(ui): |
|
62 | 63 | """Wraps user-facing mercurial commands with narrow-aware versions.""" |
|
64 | localrepo.featuresetupfuncs.add(featuresetup) | |
|
63 | 65 | narrowrevlog.setup() |
|
64 | 66 | narrowbundle2.setup() |
|
65 | 67 | narrowmerge.setup() |
General Comments 0
You need to be logged in to leave comments.
Login now