Re: wc-ng: determine if a node is versioned

2010-04-28 Thread Neels J Hofmeyr
Neels J Hofmeyr wrote: > Greg Stein wrote: >> On Sat, Apr 24, 2010 at 10:37, Neels J Hofmeyr wrote: >>> ... >>> At first glance, it appears that different code paths want to handle >>> incomplete nodes differently. Some want to act as if the node was 'normal' >>> == versioned. Most appear to want

Re: wc-ng: determine if a node is versioned

2010-04-24 Thread Neels J Hofmeyr
Greg Stein wrote: > On Sat, Apr 24, 2010 at 10:37, Neels J Hofmeyr wrote: >> ... >> At first glance, it appears that different code paths want to handle >> incomplete nodes differently. Some want to act as if the node was 'normal' >> == versioned. Most appear to want to act as if incomplete nodes

Re: wc-ng: determine if a node is versioned

2010-04-24 Thread Greg Stein
On Sat, Apr 24, 2010 at 10:37, Neels J Hofmeyr wrote: >... > At first glance, it appears that different code paths want to handle > incomplete nodes differently. Some want to act as if the node was 'normal' > == versioned. Most appear to want to act as if incomplete nodes were > non-versioned -- b

wc-ng: determine if a node is versioned

2010-04-24 Thread Neels J Hofmeyr
Hi all, I see a potential problem in the use of svn_wc__node_get_kind(): incomplete state due to an interrupted operation. Let's see the return values for svn_wc__node_get_kind(). It is quite indistinguishable whether a node is not versioned, or whether it is versioned but in incomplete state: