'RepoError' is not defined (httprepo.py)

Michal Kvasnica kvasnica at control.ee.ethz.ch
Mon Sep 12 08:57:57 CDT 2005


accidentaly tried to pull from a non-existent repo through http:

requesting all changes
** unknown exception encountered, details follow
** report bug details to mercurial at selenic.com
Traceback (most recent call last):
  File "/usr/bin/hg", line 13, in ?
    commands.run()
  File "/usr/lib/python2.4/site-packages/mercurial/commands.py", line
1868, in run
    sys.exit(dispatch(sys.argv[1:]))
  File "/usr/lib/python2.4/site-packages/mercurial/commands.py", line
2008, in dispatch
    return d()
  File "/usr/lib/python2.4/site-packages/mercurial/commands.py", line
1995, in <lambda>
    d = lambda: func(u, *args, **cmdoptions)
  File "/usr/lib/python2.4/site-packages/mercurial/commands.py", line
647, in clone
    repo.pull(other)
  File "/usr/lib/python2.4/site-packages/mercurial/localrepo.py", line
862, in pull
    cg = remote.changegroup(fetch)
  File "/usr/lib/python2.4/site-packages/mercurial/httprepo.py", line
120, in changegroup
    f = self.do_cmd("changegroup", roots=n)
  File "/usr/lib/python2.4/site-packages/mercurial/httprepo.py", line
79, in do_cmd
    raise RepoError("'%s' does not appear to be an hg repository"
NameError: global name 'RepoError' is not defined

this happens with latest tip (effff847870f).

michal


More information about the Mercurial mailing list