[RFC] Children of a replaced node - schedule delete vs. deleted-by-the-replace
From: Julian Foad <julian.foad_at_wandisco.com>
Date: Thu, 10 Mar 2011 18:43:13 +0000
If I ask a WC API for "the children" of a working directory, I would
The attached patch starts this by creating a test and defining a new
Sanity checks appreciated, especially of the test. I'll describe the
I start with a repo and clean WC at revision 1 containing just the
A
and then (in Subversion) I replace A with a copy of X:
rm A
and then delete the child 'H' and add a new child 'J':
rm A/G
I expect to the "working view" of A to consist of
A - copied, replacing an old 'A'
Note that I don't expect to hear anything about the path 'A/F'.
On the right track?
- Julian
p.s. The last part of the test - calling svn_wc__node_get_children() -
w|loc|o|p|r|rep|r|presence|||kind||depth ||| | | |
1|A |0| |1|A |1|normal |||dir ||infinity|||1|1299779887071167|||||
1|A |1| |1|X |1|normal |||dir ||infinity|||1|1299779887071167|||||
1|A/H|2|A|-|- |-|base-del|||dir ||infinity|||1|1299779887071167|||||
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.