--> --> -->
 
 
<class 'mercurial.error.RepoError'>
Python 2.7.2+: /usr/bin/python
Sun Feb 5 18:04:13 2012

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

 /home/g/guy/public_html/hg/hgweb.cgi in ()
     24 
     25 def make_web_app():
     26     return hgweb("/path/to/repo", "repository name")
     27 
=>   28 wsgicgi.launch(wsgiapplication(make_web_app))
wsgicgi = <module 'mercurial.hgweb.wsgicgi' from '/usr/lib...on2.7/dist-packages/mercurial/hgweb/wsgicgi.pyc'>, wsgicgi.launch = <function launch>, wsgiapplication = <function wsgiapplication>, make_web_app = <function make_web_app>
 /usr/lib/python2.7/dist-packages/mercurial/hgweb/request.py in wsgiapplication(app_maker=<function make_web_app>)
    142     '''For compatibility with old CGI scripts. A plain hgweb() or hgwebdir()
    143     can and should now be used as a WSGI application.'''
=>  144     application = app_maker()
    145     def run_wsgi(env, respond):
    146         return application(env, respond)
application undefined, app_maker = <function make_web_app>
 /home/g/guy/public_html/hg/hgweb.cgi in make_web_app()
     24 
     25 def make_web_app():
=>   26     return hgweb("/path/to/repo", "repository name")
     27 
     28 wsgicgi.launch(wsgiapplication(make_web_app))
global hgweb = <class 'mercurial.hgweb.hgweb_mod.hgweb'>
 /usr/lib/python2.7/dist-packages/mercurial/hgweb/hgweb_mod.py in __init__(self=<mercurial.hgweb.hgweb_mod.hgweb object>, repo='/path/to/repo', name='repository name', baseui=None)
     32             else:
     33                 u = ui.ui()
=>   34             self.repo = hg.repository(u, repo)
     35         else:
     36             self.repo = repo
self = <mercurial.hgweb.hgweb_mod.hgweb object>, self.repo undefined, global hg = <module 'mercurial.hg' from '/usr/lib/python2.7/dist-packages/mercurial/hg.pyc'>, hg.repository = <function repository>, u = <mercurial.ui.ui object>, repo = '/path/to/repo'
 /usr/lib/python2.7/dist-packages/mercurial/hg.py in repository(ui=<mercurial.ui.ui object>, path='/path/to/repo', create=False)
     91 def repository(ui, path='', create=False):
     92     """return a repository object for the specified path"""
=>   93     repo = _peerlookup(path).instance(ui, path, create)
     94     ui = getattr(repo, "ui", ui)
     95     for name, module in extensions.extensions():
repo undefined, global _peerlookup = <function _peerlookup>, path = '/path/to/repo', ).instance undefined, ui = <mercurial.ui.ui object>, create = False
 /usr/lib/python2.7/dist-packages/mercurial/localrepo.py in instance(ui=<mercurial.ui.ui object>, path='/path/to/repo', create=False)
   1986 
   1987 def instance(ui, path, create):
=> 1988     return localrepository(ui, util.urllocalpath(path), create)
   1989 
   1990 def islocal(path):
global localrepository = <class 'mercurial.localrepo.localrepository'>, ui = <mercurial.ui.ui object>, global util = <module 'mercurial.util' from '/usr/lib/python2.7/dist-packages/mercurial/util.pyc'>, util.urllocalpath = <function urllocalpath>, path = '/path/to/repo', create = False
 /usr/lib/python2.7/dist-packages/mercurial/localrepo.py in __init__(self=<mercurial.localrepo.localrepository object>, baseui=<mercurial.ui.ui object>, path='/path/to/repo', create=False)
     65                     requirements.append("generaldelta")
     66             else:
=>   67                 raise error.RepoError(_("repository %s not found") % path)
     68         elif create:
     69             raise error.RepoError(_("repository %s already exists") % path)
global error = <module 'mercurial.error' from '/usr/lib/python2.7/dist-packages/mercurial/error.pyc'>, error.RepoError = <class 'mercurial.error.RepoError'>, global _ = <function gettext>, path = '/path/to/repo'

<class 'mercurial.error.RepoError'>: repository /path/to/repo not found
      args = ('repository /path/to/repo not found',)
      hint = None
      message = 'repository /path/to/repo not found'