Checkout
pburba
committed
on 04 Jun 10
Follow-up to r920424, don't conflate switched and disjoint WC paths.

r920424 was part of the ongoing wcng work to remove svn_wc_entry_t's, … Show more
Follow-up to r920424, don't conflate switched and disjoint WC paths.

r920424 was part of the ongoing wcng work to remove svn_wc_entry_t's, but

in doing so, it changed the behavior of svn_wc__path_switched() such that

disjoint but un-switched paths were erroneously reported as switched, see

http://svn.haxx.se/dev/archive-2010-06/0014.shtml.

* subversion/libsvn_wc/lock.c

 (svn_wc__path_switched): Use svn_wc__check_wc_root() rather than

  child_is_disjoint() to detect switched paths, returning to the

  pre-r920424 behavior.

Show less