Checkout
rhuijben
committed
on 22 Nov 12
Following up on r1412632, fix name of new svn_wc__db_ function and use this
function for all calculations on where to obtain a working copy … Show more
Following up on r1412632, fix name of new svn_wc__db_ function and use this

function for all calculations on where to obtain a working copy lock.

* subversion/libsvn_wc/lock.c

 (child_is_disjoint): Simplify function by using svn_wc__db_is_switched().

 (svn_wc__acquire_write_lock): Use svn_wc__db_is_switched() instead of all

   the separate db calls. Remove tests on cases that could never happen since

   the switch to a single database per working copy.

* subversion/libsvn_wc/props.c

 (svn_wc__internal_get_iprops): Update caller.

* subversion/libsvn_wc/update_editor.c

 (svn_wc__check_wc_root): Update caller.

* subversion/libsvn_wc/wc_db.c

 (db_is_switched): Return error on 'hidden' nodes, even when they have a

   repos_relpath.

 (svn_wc_db__is_switched): Rename to...

 (svn_wc__db_is_switched): ... this.

* subversion/libsvn_wc/wc_db.h

 (svn_wc_db__is_switched): Rename to...

 (svn_wc__db_is_switched): ... this.

Show less