mercurial/hgweb/hgweb_mod.py
changeset 36800 0b18604db95e
parent 36799 c638a13093cf
child 36801 66de4555cefd
equal deleted inserted replaced
36799:c638a13093cf 36800:0b18604db95e
    35     repoview,
    35     repoview,
    36     templatefilters,
    36     templatefilters,
    37     templater,
    37     templater,
    38     ui as uimod,
    38     ui as uimod,
    39     util,
    39     util,
    40     wireproto,
       
    41     wireprotoserver,
    40     wireprotoserver,
    42 )
    41 )
    43 
    42 
    44 from . import (
    43 from . import (
    45     webcommands,
    44     webcommands,
    46     webutil,
    45     webutil,
    47     wsgicgi,
    46     wsgicgi,
    48 )
    47 )
    49 
       
    50 # Aliased for API compatibility.
       
    51 perms = wireproto.permissions
       
    52 
    48 
    53 archivespecs = util.sortdict((
    49 archivespecs = util.sortdict((
    54     ('zip', ('application/zip', 'zip', '.zip', None)),
    50     ('zip', ('application/zip', 'zip', '.zip', None)),
    55     ('gz', ('application/x-gzip', 'tgz', '.tar.gz', None)),
    51     ('gz', ('application/x-gzip', 'tgz', '.tar.gz', None)),
    56     ('bz2', ('application/x-bzip2', 'tbz2', '.tar.bz2', None)),
    52     ('bz2', ('application/x-bzip2', 'tbz2', '.tar.bz2', None)),