Mercurial > hg-stable
diff hgext/uncommit.py @ 42057:566daffc607d
cleanup: use set literals where possible
Differential Revision: https://phab.mercurial-scm.org/D6192
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Wed, 03 Apr 2019 11:21:27 -0700 |
parents | f4147ca63d39 |
children | ff1ff2aae132 |
line wrap: on
line diff
--- a/hgext/uncommit.py Wed Jul 19 13:17:49 2017 -0700 +++ b/hgext/uncommit.py Wed Apr 03 11:21:27 2019 -0700 @@ -147,7 +147,7 @@ # if not everything tracked in that directory can be # uncommitted. if badfiles: - badfiles -= set([f for f in util.dirs(eligible)]) + badfiles -= {f for f in util.dirs(eligible)} for f in sorted(badfiles): if f in s.clean: