# HG changeset patch # User Yuya Nishihara # Date 2017-10-22 13:52:36 # Node ID 5e1d4ccab45510652d2087a98ceb1551f28f9c06 # Parent 349bcd7fa670afed2e78c4a4c1865a793b6d461d graphlog: remove redundant check for empty revs diff --git a/mercurial/graphmod.py b/mercurial/graphmod.py --- a/mercurial/graphmod.py +++ b/mercurial/graphmod.py @@ -48,9 +48,6 @@ def dagwalker(repo, revs): returned. """ - if not revs: - return - gpcache = {} for rev in revs: