bookmark: remove useless line in `validdest`
This case is already covered by the `if old == new:` conditional at the start of
the function.
--- a/mercurial/bookmarks.py Wed Oct 24 17:55:21 2012 +0200
+++ b/mercurial/bookmarks.py Wed Oct 24 18:11:17 2012 +0200
@@ -267,7 +267,6 @@
succs.update(obsolete.allsuccessors(repo.obsstore, mutable))
known = (n for n in succs if n in nm)
validdests = set(repo.set('%ln::', known))
- validdests.remove(old)
return new in validdests
else:
return old.descendant(new)