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

svn_wc_translated_file3

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Fri, 06 Aug 2010 21:42:54 +0200

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
Received on 2010-08-06 21:43: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.