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

Re: All breakage tests failing in svn_io_file_rename

From: Brian Denny <brian_at_briandenny.net>
Date: 2003-11-08 04:30:07 CET

On Sat, Nov 08, 2003 at 01:10:19AM +0000, Philip Martin wrote:
> One option would be to make a decision based on whether we are using a
> read-only access baton or a read-write access baton.
>
> if (b->edit_baton->access_baton
> && svn_wc_adm_locked (b->edit_baton->access_baton))
> {
> /* We have a write-lock so we should use ".svn/tmp" or "." */
> }
> else
> {
> /* Read-only so use svn_io_temp_dir() */
> }

I like that suggestion. :)

/me goes off to try it...

-brian

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Nov 8 04:20:47 2003

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.