src/topic/__init__.py
changeset 1843 0ba067a97d06
parent 1842 94bbc18daa99
child 1844 862cabc132fd
equal deleted inserted replaced
1842:94bbc18daa99 1843:0ba067a97d06
    15 from mercurial import extensions
    15 from mercurial import extensions
    16 from mercurial import namespaces
    16 from mercurial import namespaces
    17 from mercurial import obsolete
    17 from mercurial import obsolete
    18 from mercurial import phases
    18 from mercurial import phases
    19 from mercurial import util
    19 from mercurial import util
       
    20 
       
    21 from . import revset as topicrevset
    20 
    22 
    21 cmdtable = {}
    23 cmdtable = {}
    22 command = cmdutil.command(cmdtable)
    24 command = cmdutil.command(cmdtable)
    23 
    25 
    24 def _namemap(repo, name):
    26 def _namemap(repo, name):
    92             with repo.vfs.open('topic', 'w') as f:
    94             with repo.vfs.open('topic', 'w') as f:
    93                 f.write(t)
    95                 f.write(t)
    94     return ret
    96     return ret
    95 
    97 
    96 extensions.wrapcommand(commands.table, 'update', updatewrap)
    98 extensions.wrapcommand(commands.table, 'update', updatewrap)
       
    99 topicrevset.modsetup()