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

Re: svn: Can't open '.svn/tmp/tempfile.tmp': No such file or directory

From: Malcolm Rowe <malcolm-svn-dev_at_farside.org.uk>
Date: 2006-10-12 17:34:51 CEST

On Thu, Oct 12, 2006 at 05:09:35PM +0200, Husterer, Thomas RD-CP1 wrote:
> 1. Why don't these (kind of) functions use svn_io_temp_dir() ?
>

The main reason is because the same functions are called to generate
temporary files that are atomically moved over the top of existing files
in the working copy (and so they need to be on the same filesystem);
creating them in .svn is a good way to ensure this.

However, I think I'm right in saying that those functions are now (in
the current trunk version of SVN) able to create temporary files in the
system temporary directory if the caller requests it, enabling things
like repos-wc diffs to work on read-only working copies. I'm not sure
whether 'svn st -u' works yet, though.

Regards,
Malcolm

  • application/pgp-signature attachment: stored
Received on Thu Oct 12 17:35:14 2006

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