diff hgext/rebase.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 169c386cc9d8
children 1b5cec8b6a1e
line wrap: on
line diff
--- a/hgext/rebase.py	Wed Jul 19 13:17:49 2017 -0700
+++ b/hgext/rebase.py	Wed Apr 03 11:21:27 2019 -0700
@@ -1878,8 +1878,8 @@
     obsolete successors.
     """
     obsoletenotrebased = {}
-    obsoletewithoutsuccessorindestination = set([])
-    obsoleteextinctsuccessors = set([])
+    obsoletewithoutsuccessorindestination = set()
+    obsoleteextinctsuccessors = set()
 
     assert repo.filtername is None
     cl = repo.changelog