Mercurial > public > mercurial-scm > hg
diff mercurial/bundlerepo.py @ 3930:01d98d68d697
Add revlog.LookupError exception, and use it instead of RevlogError.
Remove repo.LookupError, which devolves to the revlog version.
author | Brendan Cully <brendan@kublai.com> |
---|---|
date | Mon, 18 Dec 2006 12:22:43 -0800 |
parents | 6b4127c7d52a |
children | 9210fba03d16 |
line wrap: on
line diff
--- a/mercurial/bundlerepo.py Sun Dec 17 22:16:57 2006 -0600 +++ b/mercurial/bundlerepo.py Mon Dec 18 12:22:43 2006 -0800 @@ -49,7 +49,7 @@ continue for p in (p1, p2): if not p in self.nodemap: - raise revlog.RevlogError(_("unknown parent %s") % short(p1)) + raise revlog.LookupError(_("unknown parent %s") % short(p1)) if linkmapper is None: link = n else: