It has already been set to -1 since 6f9ac3cb0987 (dispatch: unify
handling of None returned by a command function, 2018-05-12).
Details
Details
- Reviewers
- None
- Group Reviewers
hg-reviewers
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Lint Skipped - Unit
Unit Tests Skipped
Event Timeline
Comment Actions
diff --git a/mercurial/dispatch.py b/mercurial/dispatch.py
- a/mercurial/dispatch.py
+++ b/mercurial/dispatch.py
@@ -230,7 +230,6 @@except IOError as inst: if inst.errno != errno.EPIPE: raise
- ret = -1 finally: duration = util.timer() - starttime req.ui.flush()
Let's hold this. I plan to change the ret to be initialized to 1.
Comment Actions
Sounds good. I'll abandon this patch. I'll queue your patches in a minute when tests have finished running.