neo4j/neo4j — pull request #475 by tinwelint (2013-01-29 19:41:45+00:00)
Title: TransactionState stmt context takes into account its delegate

...whether it had the label already, to return the correct result in add/remove label to/from node. This makes update queries write correct added/removed labels in the end result.