mercurial/manifest.py
changeset 39777 b63dee7bd0d9
parent 39763 5ccd791344f3
child 39858 9534fe1e5d28
--- a/mercurial/manifest.py	Tue Sep 18 16:45:13 2018 -0700
+++ b/mercurial/manifest.py	Tue Sep 18 16:47:09 2018 -0700
@@ -643,7 +643,7 @@
     """Check filenames for illegal characters."""
     for f in l:
         if '\n' in f or '\r' in f:
-            raise error.RevlogError(
+            raise error.StorageError(
                 _("'\\n' and '\\r' disallowed in filenames: %r")
                 % pycompat.bytestr(f))