svnadmin create repo
svn import -mm Makefile file://`pwd`/repo/f
svn co file://`pwd`/repo wc
svn mkdir wc/A
svn ps svn:externals '^/f g' wc/A
svn up wc
sqlite3 wc/.svn/wc.db "select op_depth, local_relpath, presence, file_external
from nodes"
0|f|normal|
1|A|normal|
0||normal|
0|A/g|normal|1
See how A/g is at op-depth 0, is that how it's supposed to work? Suppose this
was a replace, A/g might already exist at op-depth 0.
If I run "svn revert -R" on the working copy the the A row gets removed but the
A/g row remains causing A to show up in status as 'X' even though the
svn:externals property no longer exists:
$ svn pg svn:externals -R wc
$ svn st wc
X wc/A
The NODES row for A/g still exists.