Mercurial > hg
comparison mercurial/repoview.py @ 18919:cdf764a2f7a5
repoview: remove unreachable code
Found using Cython.
author | Bryan O'Sullivan <bryano@fb.com> |
---|---|
date | Fri, 12 Apr 2013 17:18:52 -0700 |
parents | 3e92772d5383 |
children | acb34d7159bd |
comparison
equal
deleted
inserted
replaced
18916:6edb0e18b83c | 18919:cdf764a2f7a5 |
---|---|
53 revs = cl.revs(start=first) | 53 revs = cl.revs(start=first) |
54 secrets = set(r for r in revs if getphase(repo, r) >= secret) | 54 secrets = set(r for r in revs if getphase(repo, r) >= secret) |
55 return frozenset(hiddens | secrets) | 55 return frozenset(hiddens | secrets) |
56 else: | 56 else: |
57 return hiddens | 57 return hiddens |
58 return frozenset() | |
59 | 58 |
60 def computemutable(repo): | 59 def computemutable(repo): |
61 """compute the set of revision that should be filtered when used a server | 60 """compute the set of revision that should be filtered when used a server |
62 | 61 |
63 Secret and hidden changeset should not pretend to be here.""" | 62 Secret and hidden changeset should not pretend to be here.""" |