Split svn_wc__db_pristine_cleanup() into a wrapper and a lower-level body that takes a 'wcroot'.  This distinction is logical in itself and also helps me to experiment with automatically cleaning up when closing a WC root.
Split svn_wc__db_pristine_cleanup() into a wrapper and a lower-level body
that takes a 'wcroot'.  This distinction is logical in itself and also helps
me to experiment with automatically cleaning up when closing a WC root.

* subversion/libsvn_wc/wc_db.c
  (pristine_remove): Take a 'wcroot' instead of a 'pdh'.
  (svn_wc__db_pristine_remove): Adjust the call to pristine_remove().
  (pristine_cleanup_wcroot): New function, extracted from ...
  (svn_wc__db_pristine_cleanup): ... this, which is now just a wrapper.

jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion