src/hg-ssh
changeset 306 f832a8aeef44
parent 305 bf58227c168a
child 374 7a1d6b228af6
equal deleted inserted replaced
305:bf58227c168a 306:f832a8aeef44
    18 from mercurial import demandimport; demandimport.enable()
    18 from mercurial import demandimport; demandimport.enable()
    19 
    19 
    20 from mercurial import dispatch
    20 from mercurial import dispatch
    21 
    21 
    22 try:
    22 try:
    23     from mercurial.dispatch import request
    23     request = dispatch.request
    24 except ImportError:
    24 except AttributeError:
    25     request = list
    25     request = list
    26 
    26 
    27 import sys, os, os.path
    27 import sys, os, os.path
    28 import base64
    28 import base64
    29 from mercurialserver import config, ruleset
    29 from mercurialserver import config, ruleset