mercurial/scmutil.py
branchstable
changeset 18617 227479f61db9
parent 18466 ac0c12123743
child 18618 43ffd0279876
equal deleted inserted replaced
18580:9a06aab5981b 18617:227479f61db9
    16     nodes excluded from the push/pull.
    16     nodes excluded from the push/pull.
    17     '''
    17     '''
    18     secretlist = []
    18     secretlist = []
    19     if excluded:
    19     if excluded:
    20         for n in excluded:
    20         for n in excluded:
       
    21             if n not in repo:
       
    22                 # discovery should not have included the filtered revision,
       
    23                 # we have to explicitly exclude it until discovery is cleanup.
       
    24                 continue
    21             ctx = repo[n]
    25             ctx = repo[n]
    22             if ctx.phase() >= phases.secret and not ctx.extinct():
    26             if ctx.phase() >= phases.secret and not ctx.extinct():
    23                 secretlist.append(n)
    27                 secretlist.append(n)
    24 
    28 
    25     if secretlist:
    29     if secretlist: