##// END OF EJS Templates
bookmark: simplify nodemap check introduced in the previous changeset
Thomas Arendsen Hein -
r17866:75b43843 stable
parent child Browse files
Show More
@@ -268,7 +268,7 b' def validdest(repo, old, new):'
268 268 # obsolescence marker does not apply to public changeset
269 269 succs.update(obsolete.allsuccessors(repo.obsstore,
270 270 [c.node()]))
271 known = (n for n in succs if nm.get(n) is not None)
271 known = (n for n in succs if n in nm)
272 272 validdests = set(repo.set('%ln::', known))
273 273 validdests.remove(old)
274 274 return new in validdests
General Comments 0
You need to be logged in to leave comments. Login now