When clearing a revision, ClearRevision will filter out the consume(SvnNode) and consume(FileContentChunk) calls and not call them on the next consumer. However, there's no logic to keep endChunks() and endNode(SvnNode) from being called on the next consumer.
This will cause a follow up consumer to receive endChunks() and endNode(SvnNode) without the matching consume(...) calls, and will lead to undesired behavior.
When clearing a revision,
ClearRevision
will filter out theconsume(SvnNode)
andconsume(FileContentChunk)
calls and not call them on the next consumer. However, there's no logic to keependChunks()
andendNode(SvnNode)
from being called on the next consumer.This will cause a follow up consumer to receive
endChunks()
andendNode(SvnNode)
without the matchingconsume(...)
calls, and will lead to undesired behavior.