hgext/show.py
changeset 42057 566daffc607d
parent 40293 c303d65d2e34
child 42596 83666f011679
--- a/hgext/show.py	Wed Jul 19 13:17:49 2017 -0700
+++ b/hgext/show.py	Wed Apr 03 11:21:27 2019 -0700
@@ -243,7 +243,7 @@
     else:
         newheads = set()
 
-    allrevs = set(stackrevs) | newheads | set([baserev])
+    allrevs = set(stackrevs) | newheads | {baserev}
     nodelen = longestshortest(repo, allrevs)
 
     try: