mercurial/scmutil.py
changeset 48367 0b8e076e878c
parent 48315 a44bb185f6bd
child 48368 8c4881c07f57
--- a/mercurial/scmutil.py	Fri Nov 19 15:39:35 2021 -0800
+++ b/mercurial/scmutil.py	Fri Nov 19 15:40:56 2021 -0800
@@ -341,7 +341,7 @@
         if fl in self._loweredfiles and f not in self._dirstate:
             msg = _(b'possible case-folding collision for %s') % f
             if self._abort:
-                raise error.Abort(msg)
+                raise error.StateError(msg)
             self._ui.warn(_(b"warning: %s\n") % msg)
         self._loweredfiles.add(fl)
         self._newfiles.add(f)