Checkout
rhuijben
committed
on 19 May 12
Stat for ".svn" before statting ".svn/wc.db" and ".svn/entries" for an uncached
directory in a working copy. For any directory except the wo… Show more
Stat for ".svn" before statting ".svn/wc.db" and ".svn/entries" for an uncached

directory in a working copy. For any directory except the working copy root

this will return that this directory does not exist and avoid the two further

stats.

This reduces the time to run svn status on the root of my semi-network working

copy with Subversion trunk, branches: 1.5.x, 1.6.x and 1.7.x by about 20-30%.

(semi network = VM to host system using network protocols over virtual NIC)

* subversion/libsvn_wc/wc_db_wcroot.c

 (svn_wc__db_wcroot_parse_local_abspath): Use a filestat on ".svn" to avoid

   further filestats.

Show less