svnadmin create repo
svn mkdir -mm file://`pwd`/repo/A
svn mkdir -mm file://`pwd`/repo/A/B
svn co file://`pwd`/repo wc
svn cp wc/A wc/X
svn rm wc/X/B
svn ci -mm wc
Set a breakpoint on process_committed_leaf, when reached run that function to
completion and then kill the client.
$ svn st wc
D L wc/X/B
$ svn cleanup wc
$ svn st wc
D wc/X/B
$ svn revert wc/X/B
$ svn st -v wc/X/B
3 2 pm wc/X/B
$ svn log wc/X/B
svn: E160013: File not found: revision 3, path '/X/B'
So X/B@3 does not exist in the repository, but is present in the wc.