[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: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Sat, 7 Aug 2010 13:52:46 +0300

What's the solution?

Stefan Küng wrote on Fri, Aug 06, 2010 at 23:56:37 +0200:
> Never mind - I found a solution to the problem.
>
> Stefan
>
> On Fri, Aug 6, 2010 at 21:42, Stefan Küng <tortoisesvn_at_gmail.com> wrote:
> > Hi,
> >
> > Just noticed that the API svn_wc_translated_file3() has been removed in
> > r963632:
> >
> > Message:
> > Remove the public libsvn_wc file and stream translation APIs (while leaving
> > their deprecated predecessors).  These APIs are not consumed by the client.
> > See: http://svn.haxx.se/dev/archive-2010-07/0100.shtml
> >
> >
> > While I can understand the reasons for removing it, I still need some way to
> > get done what this API did: get a file representing the WC BASE in a
> > translated format. Sure I could use the stream API but that way I will
> > always have to read from the stream and write it to a file. The removed API
> > was very fast if no translation was necessary because it simply returned the
> > existing BASE file path.
> >
> > As for what I need that API in TSVN: to do a quick diff between WC and BASE
> > of files. For example, every time a user doubleclicks on a modified file in
> > the commit dialog, TSVN calls that API to get the BASE file.
> >
> > As for using svn_wc_translated_file2(), that one requires an
> > svn_wc_adm_access_t as a parameter which I can only get using deprecated
> > APIs.
> >
> > Suggestions on what I should do?
> >
> > Stefan
Received on 2010-08-07 12:55:03 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.