��@sCddlZddlZddlZddd�Zdd�ZdS(i�Nc Cslt|t�r"tjj|�s@t|t�s@t|t�rStj|d|�St j
|d|d|�S(screate an hgweb wsgi object
config can be one of:
- repo object (single repo view)
- path to repo (single repo view)
- path to config file (multi-repo view)
- dict of virtual:real pairs (multi-repo view)
- list of virtual:real tuples (multi-repo view)
tbaseuitname(t
isinstancetstrtostpathtisdirtdicttlistthgwebdir_modthgwebdirt hgweb_modthgweb(tconfigRR((s</sys/lib/python2.7/site-packages/mercurial/hgweb/__init__.pyRs"cCstj|d|�S(NR(R R
(R
R((s</sys/lib/python2.7/site-packages/mercurial/hgweb/__init__.pyR
s(RRR tNoneRR
(((s</sys/lib/python2.7/site-packages/mercurial/hgweb/__init__.pyt<module> s
|