mercurial/repoview.py
changeset 18919 cdf764a2f7a5
parent 18644 3e92772d5383
child 18924 acb34d7159bd
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."""