graphlog: remove redundant check for empty revs
authorYuya Nishihara <yuya@tcha.org>
Sun, 22 Oct 2017 22:52:36 +0900
changeset 35546 5e1d4ccab455
parent 35545 349bcd7fa670
child 35547 b6dbc860570d
graphlog: remove redundant check for empty revs
mercurial/graphmod.py
--- a/mercurial/graphmod.py	Sun Oct 22 22:38:16 2017 +0900
+++ b/mercurial/graphmod.py	Sun Oct 22 22:52:36 2017 +0900
@@ -48,9 +48,6 @@
     returned.
 
     """
-    if not revs:
-        return
-
     gpcache = {}
 
     for rev in revs: