author | Thomas Arendsen Hein <thomas@intevation.de> |
Fri, 26 Oct 2012 09:29:50 +0200 | |
branch | stable |
changeset 17866 | 75b43843eb4d |
parent 17865 | daf32ebfde6b |
child 17867 | c9339efed653 |
--- a/mercurial/bookmarks.py Thu Oct 25 23:43:52 2012 +0200 +++ b/mercurial/bookmarks.py Fri Oct 26 09:29:50 2012 +0200 @@ -268,7 +268,7 @@ # obsolescence marker does not apply to public changeset succs.update(obsolete.allsuccessors(repo.obsstore, [c.node()])) - known = (n for n in succs if nm.get(n) is not None) + known = (n for n in succs if n in nm) validdests = set(repo.set('%ln::', known)) validdests.remove(old) return new in validdests