Never mind - I found a solution to the problem. Stefan
On Fri, Aug 6, 2010 at 21:42, Stefan Küng <tortoise...@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 > > -- > ___ > oo // \\ "De Chelonian Mobile" > (_,\/ \_/ \ TortoiseSVN > \ \_/_\_/> The coolest Interface to (Sub)Version Control > /_/ \_\ http://tortoisesvn.net > -- ___ oo // \\ "De Chelonian Mobile" (_,\/ \_/ \ TortoiseSVN \ \_/_\_/> The coolest Interface to (Sub)Version Control /_/ \_\ http://tortoisesvn.net