mercurial/dispatch.py
changeset 38023 c3fd9a0f8277
parent 38022 48853a927757
child 38025 5046c906b25d
--- a/mercurial/dispatch.py	Wed May 16 20:17:50 2018 +0900
+++ b/mercurial/dispatch.py	Wed May 16 20:22:23 2018 +0900
@@ -239,7 +239,7 @@
             req.ui.log('uiblocked', 'ui blocked ms',
                        **pycompat.strkwargs(req.ui._blockedtimes))
         req.ui.log("commandfinish", "%s exited %d after %0.2f seconds\n",
-                   msg, ret, duration)
+                   msg, ret & 255, duration)
         try:
             req._runexithandlers()
         except: # exiting, so no re-raises