mercurial/scmutil.py
changeset 32172 448ed4d3ee90
parent 32152 994b0b1c77d6
child 32269 ed2c44741190
equal deleted inserted replaced
32171:fb9b6bfb54b5 32172:448ed4d3ee90
   118     nodes excluded from the push/pull.
   118     nodes excluded from the push/pull.
   119     '''
   119     '''
   120     secretlist = []
   120     secretlist = []
   121     if excluded:
   121     if excluded:
   122         for n in excluded:
   122         for n in excluded:
   123             if n not in repo:
       
   124                 # discovery should not have included the filtered revision,
       
   125                 # we have to explicitly exclude it until discovery is cleanup.
       
   126                 continue
       
   127             ctx = repo[n]
   123             ctx = repo[n]
   128             if ctx.phase() >= phases.secret and not ctx.extinct():
   124             if ctx.phase() >= phases.secret and not ctx.extinct():
   129                 secretlist.append(n)
   125                 secretlist.append(n)
   130 
   126 
   131     if secretlist:
   127     if secretlist: