[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: Erik Huelsmann <ehuels_at_gmail.com>
Date: 2006-10-12 20:15:02 CEST

On 10/12/06, Malcolm Rowe <malcolm-svn-dev@farside.org.uk> wrote:
> 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.

'svn st -u' does that now for trunk as of r21904. The problem was that
svn st -u was creating a repository session which forcibly wrote its
temp files in .svn/ even though there is no need for this (read-only)
operation.

bye,

Erik.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Oct 12 20:15:27 2006

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