changeset 35546:5e1d4ccab455

graphlog: remove redundant check for empty revs
author Yuya Nishihara <yuya@tcha.org>
date Sun, 22 Oct 2017 22:52:36 +0900
parents 349bcd7fa670
children b6dbc860570d
files mercurial/graphmod.py
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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: