D3561: dispatch: drop redundant setting of "ret" to -1
Yuya Nishihara
yuya at tcha.org
Wed May 16 07:42:02 EDT 2018
> 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.
More information about the Mercurial-devel
mailing list