D1994: config: replace a for-else by any()

yuja (Yuya Nishihara) phabricator at mercurial-scm.org
Fri Feb 2 07:24:48 EST 2018


yuja added a comment.


  I'll drop this from hg-committed. Please make sure to touch your local revision
  before pulling.

INLINE COMMENTS

> commands.py:1674
>          editor = ui.geteditor()
>          ui.system("%s \"%s\"" % (editor, f),
>                    onerr=error.Abort, errprefix=_("edit failed"),

The variable `f` is used here.

REPOSITORY
  rHG Mercurial

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

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


More information about the Mercurial-devel mailing list