On Thu, 12 Oct 2006, Erik Huelsmann wrote:
> 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.
What do you think about backporting this change to the 1.4.x line?
- application/pgp-signature attachment: stored
Received on Thu Oct 12 21:43:10 2006