neo4j/neo4j — pull request #2702 by jakewins (2014-07-18 06:26:38+00:00)
Title: Fix state bug from upgrading a shared lock using tryExclusive()

If a shared lock is held when sharedExclusive was called, the local lock
state in the client would not be updated properly, instead the call would
return early from this code path. It should have continued the loop to acquire
locks, and it should have updated the local lock map state.

Now it does, this appears to have been a copy-paste error.