equal
deleted
inserted
replaced
54 ) |
54 ) |
55 |
55 |
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() |
66 narrowcommands.setup() |
68 narrowcommands.setup() |
67 narrowchangegroup.setup() |
69 narrowchangegroup.setup() |