Mercurial > public > mercurial-scm > hg-stable
diff mercurial/discovery.py @ 15951:bd84fc0b5f64 stable
phases: properly register excluded changeset when revision are specified
There was no other drawback than a bad UI message for now.
author | Pierre-Yves David <pierre-yves.david@ens-lyon.org> |
---|---|
date | Fri, 20 Jan 2012 00:27:11 +0100 |
parents | 4154338f0bc0 |
children | 5a14f48d6b9a |
line wrap: on
line diff
--- a/mercurial/discovery.py Fri Jan 20 14:19:13 2012 -0600 +++ b/mercurial/discovery.py Fri Jan 20 00:27:11 2012 +0100 @@ -116,7 +116,7 @@ sets = repo.changelog.findcommonmissing(og.commonheads, onlyheads) og._common, allmissing = sets og._missing = missing = [] - og._excluded = excluded = [] + og.excluded = excluded = [] for node in allmissing: if repo[node].phase() >= phases.secret: excluded.append(node)