hgext/largefiles/uisetup.py
branchstable
changeset 32117 1b27e1793156
parent 31892 9e67ce5c4fd0
child 32416 c942c83ac2ec
equal deleted inserted replaced
32116:247bb7a2c492 32117:1b27e1793156
    19 from mercurial import (
    19 from mercurial import (
    20     archival,
    20     archival,
    21     cmdutil,
    21     cmdutil,
    22     commands,
    22     commands,
    23     copies,
    23     copies,
       
    24     debugcommands,
    24     exchange,
    25     exchange,
    25     extensions,
    26     extensions,
    26     filemerge,
    27     filemerge,
    27     hg,
    28     hg,
    28     httppeer,
    29     httppeer,
    37     overrides,
    38     overrides,
    38     proto,
    39     proto,
    39 )
    40 )
    40 
    41 
    41 def uisetup(ui):
    42 def uisetup(ui):
       
    43     # TODO: debugcommands should use a separate command table
       
    44     # Side-effect of accessing is debugcommands module is guaranteed to be
       
    45     # imported and commands.table is populated.
       
    46     debugcommands.command
       
    47 
    42     # Disable auto-status for some commands which assume that all
    48     # Disable auto-status for some commands which assume that all
    43     # files in the result are under Mercurial's control
    49     # files in the result are under Mercurial's control
    44 
    50 
    45     entry = extensions.wrapcommand(commands.table, 'add',
    51     entry = extensions.wrapcommand(commands.table, 'add',
    46                                    overrides.overrideadd)
    52                                    overrides.overrideadd)