This is an archive of the discontinued Mercurial Phabricator instance.

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

Authored by martinvonz on Feb 1 2018, 6:30 PM.

Details

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

martinvonz created this revision.Feb 1 2018, 6:30 PM
martinvonz retitled this revision from config: replace a for-else by all() to config: replace a for-else by any().Feb 1 2018, 6:30 PM
indygreg accepted this revision.Feb 1 2018, 6:49 PM
This revision is now accepted and ready to land.Feb 1 2018, 6:49 PM
This revision was automatically updated to reflect the committed changes.
yuja added a subscriber: yuja.Feb 2 2018, 7:24 AM

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

mercurial/commands.py
1674

The variable f is used here.

martinvonz added inline comments.Feb 2 2018, 8:48 AM
mercurial/commands.py
1674

Wow, good catch! Thanks for reading carefully.