RepoError should be importable from mercurial.repo?

Christian Boos cboos at neuf.fr
Mon Feb 2 07:10:40 CST 2009


Hello,

In the 08cabecfa8a8 changeset ("errors: move revlog errors"), together 
with the move of RevLogError and LookupError from mercurial.revlog to 
mercurial.error, there was also a change which took care of backward 
compatibility, in mercurial/revlog.py:
+RevlogError = error.RevlogError
+LookupError = error.LookupError

But a few changesets later, in 1d54e2f6c0b7 "error: move repo errors", 
such a backward compatibility change was not done. Was that on purpose 
or simply accidental?
In case this was indeed accidental, I'd be interested to get at least 
RepoError importable from mercurial.repo again.

Thanks!

-- Christian

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: fix-import-repo_RepoError.patch
Url: http://selenic.com/pipermail/mercurial-devel/attachments/20090202/25da7e53/attachment.txt 


More information about the Mercurial-devel mailing list