changeset 18615 | e7b89b5127c2 |
parent 18566 | 341868ef0cf6 |
child 18618 | 43ffd0279876 |
--- a/mercurial/scmutil.py Sat Feb 09 15:39:22 2013 -0600 +++ b/mercurial/scmutil.py Sat Feb 09 17:54:01 2013 +0000 @@ -18,6 +18,10 @@ secretlist = [] if excluded: for n in excluded: + if n not in repo: + # discovery should not have included the filtered revision, + # we have to explicitly exclude it until discovery is cleanup. + continue ctx = repo[n] if ctx.phase() >= phases.secret and not ctx.extinct(): secretlist.append(n)