Mercurial > public > mercurial-scm > hg-stable
diff mercurial/bundlerepo.py @ 6228:c0c4c7b1e8d3
revlog: report node and file when lookup fails
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Tue, 11 Mar 2008 17:42:29 -0500 |
parents | f89fd07fc51d |
children | 08800489257e |
line wrap: on
line diff
--- a/mercurial/bundlerepo.py Tue Mar 11 17:42:26 2008 -0500 +++ b/mercurial/bundlerepo.py Tue Mar 11 17:42:29 2008 -0500 @@ -48,7 +48,8 @@ continue for p in (p1, p2): if not p in self.nodemap: - raise revlog.LookupError(hex(p1), _("unknown parent %s") % short(p1)) + raise revlog.LookupError(p1, self.indexfile, + _("unknown parent")) if linkmapper is None: link = n else: