On Mon, May 24, 2010 at 6:15 AM, <julianf...@apache.org> wrote: > Author: julianfoad > Date: Mon May 24 11:15:24 2010 > New Revision: 947601 > > URL: http://svn.apache.org/viewvc?rev=947601&view=rev > Log: > * subversion/libsvn_wc/wc_db.h, > subversion/libsvn_wc/wc_db.c > (svn_wc__db_pristine_get_path): New function. > > Modified: > subversion/trunk/subversion/libsvn_wc/wc_db.c > subversion/trunk/subversion/libsvn_wc/wc_db.h > > ...
> Modified: subversion/trunk/subversion/libsvn_wc/wc_db.h > URL: > http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_wc/wc_db.h?rev=947601&r1=947600&r2=947601&view=diff > > ============================================================================== > --- subversion/trunk/subversion/libsvn_wc/wc_db.h (original) > +++ subversion/trunk/subversion/libsvn_wc/wc_db.h Mon May 24 11:15:24 2010 > @@ -855,6 +855,22 @@ typedef enum { > } svn_wc__db_checkmode_t; > > > +/* Set *PRISTINE_ABSPATH to the path to the pristine text file > + identified by SHA1_CHECKSUM. Error if it does not exist. > + > + ### This is temporary - callers should not be looking at the file > + directly. > svn_wc__db_temp_pristine_get_path() ? > + > + Allocate the stream in RESULT_POOL. */ > +svn_error_t * > +svn_wc__db_pristine_get_path(const char **pristine_abspath, > + svn_wc__db_t *db, > + const char *wri_abspath, > + const svn_checksum_t *checksum, > + apr_pool_t *result_pool, > + apr_pool_t *scratch_pool); > + > + > /* Set *CONTENTS to a readable stream that will yield the pristine text > identified by CHECKSUM (### which should/must be its SHA-1 checksum?). > > > >