[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: rev 2945 - trunk/subversion/libsvn_wc

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2002-08-12 01:47:56 CEST

On Sun, Aug 11, 2002 at 06:30:11PM -0500, rooneg@tigris.org wrote:
> Author: rooneg
> Date: 2002-08-11 18:30:07 -0500 (Sun, 11 Aug 2002)
> New Revision: 2945
>
> Modified:
> trunk/subversion/libsvn_wc/adm_files.c
> Log:
> * subversion/libsvn_wc/adm_files.c
> (check_adm_exists): when making sure the .svn/README file exists, use
> svn_io_check_path and check for svn_node_file instead of using svn_io_stat.
> this will catch the case where .svn/README is a directory. this also
> removes the check for APR_STATUS_IS_EEXISTS, since as far as i can tell
> EEXISTS isn't the kind of error we should be looking for anyway. in the
> case where the .svn/README file doesn't exist, we would be getting back
> APR_ENOENT from apr_stat anyway, and svn_io_check_path that for us.

you know, i swear that sentence made sense when i wrote it. i've
changed that to 'svn_io_check_path handles that for us'.

-garrett

-- 
garrett rooney                    Remember, any design flaw you're 
rooneg@electricjellyfish.net      sufficiently snide about becomes  
http://electricjellyfish.net/     a feature.       -- Dan Sugalski
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Aug 12 01:48:27 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.