diff tests/simplestorerepo.py @ 39773:2cd93a8d4bde

revlog: drop RevlogError alias (API) error.RevlogError was moved from revlog.py in 08cabecfa8a8 in 2009. revlog.RevlogError has remained as an alias ever since. Let's drop the alias and use error.RevlogError directly. Differential Revision: https://phab.mercurial-scm.org/D4651
author Gregory Szorc <gregory.szorc@gmail.com>
date Tue, 18 Sep 2018 16:18:37 -0700
parents 41aa5dced975
children b63dee7bd0d9
line wrap: on
line diff
--- a/tests/simplestorerepo.py	Tue Sep 18 16:52:11 2018 -0700
+++ b/tests/simplestorerepo.py	Tue Sep 18 16:18:37 2018 -0700
@@ -279,7 +279,7 @@
 
                 if flag not in revlog._flagprocessors:
                     message = _("missing processor for flag '%#x'") % (flag)
-                    raise revlog.RevlogError(message)
+                    raise error.RevlogError(message)
 
                 processor = revlog._flagprocessors[flag]
                 if processor is not None: