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

RE: svn_wc_translated_file3

From: Julian Foad <julian.foad_at_wandisco.com>
Date: Mon, 09 Aug 2010 13:27:53 +0100

On Mon, 2010-08-09, Bert Huijben wrote:
> Stefan Küng wrote:
> > This leads me to another request: would it be possible to 'un-deprecate'
> > the svn_wc_get_pristine_copy_path() API?

> One of the ideas of WC-NG (which will most likely not be part of 1.7, but
> can be added later without really updating our current pristine api) was to
> allow compressed and/or (partially) absent pristine storage.
>
> This specific api function requires that the file is available in the
> pristine store as uncompressed file or that we store a copy of the file in a
> tempfolder (see the documentation update from Julian in r983593).

Ah, yes - I'd forgotton that. When the pristine file already exists in
plain text, it's not a big problem to return its path even though we
can't promise how long it will live. But if pristine texts are stored
compressed and so we have to create a temp file in order to support that
API, when would we delete the temp file?

That was the big concern.

- Julian

> The deprecation of this api is most likely part of removing this dependency.
>
> Bert
Received on 2010-08-09 14:28:38 CEST

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.