mercurial/scmutil.py
changeset 45844 8f07f5a9c3de
parent 45720 508dfd1c18df
child 45845 21733e8c924f
--- a/mercurial/scmutil.py	Tue Nov 03 09:56:02 2020 -0800
+++ b/mercurial/scmutil.py	Sat Nov 07 21:50:28 2020 -0800
@@ -219,6 +219,9 @@
         ui.error(_(b"abort: %s\n") % inst.message)
         if inst.hint:
             ui.error(_(b"(%s)\n") % inst.hint)
+    except error.WorkerError as inst:
+        # Don't print a message -- the worker already should have
+        return inst.status_code
     except ImportError as inst:
         ui.error(_(b"abort: %s!\n") % stringutil.forcebytestr(inst))
         m = stringutil.forcebytestr(inst).split()[-1]