changeset 18917:fafe9ca2a749

repoview: remove unreachable code Found using Cython.
author Bryan O'Sullivan <bryano@fb.com>
date Fri, 12 Apr 2013 17:18:52 -0700
parents 6edb0e18b83c
children 5093d2a87ff6
files mercurial/repoview.py
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/repoview.py	Fri Apr 12 17:17:35 2013 -0700
+++ b/mercurial/repoview.py	Fri Apr 12 17:18:52 2013 -0700
@@ -36,7 +36,6 @@
             blockers.append(repo[bm].rev())
         blocked = cl.ancestors(blockers, inclusive=True)
         return frozenset(r for r in hideable if r not in blocked)
-    return frozenset()
 
 def computeunserved(repo):
     """compute the set of revision that should be filtered when used a server