D3561: dispatch: drop redundant setting of "ret" to -1

yuja (Yuya Nishihara) phabricator at mercurial-scm.org
Wed May 16 07:42:21 EDT 2018


yuja added a comment.


  > 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.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D3561

To: martinvonz, #hg-reviewers
Cc: yuja, mercurial-devel


More information about the Mercurial-devel mailing list