[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: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Sat, 07 Aug 2010 13:06:37 +0200

On 07.08.2010 12:52, Daniel Shahaf wrote:
> What's the solution?

I'm using svn_wc_get_pristine_copy_path() and disable the deprecated
warnings for that API call. I won't get a translated file that way, but
most if not all UI diff tools have options to ignore EOLs. And if
keywords aren't expanded, well I guess users can live with those lines
showing up as different when doing such diffs.

Using svn_wc_get_pristine_contents() instead of
svn_wc_get_pristine_copy_path() is not an option for me here because I
can't pass a stream to an external diff application. Which means I would
have to first create a copy of that file (i.e., save the stream), which
defeats the whole purpose of doing a *fast* diff.

This leads me to another request: would it be possible to 'un-deprecate'
the svn_wc_get_pristine_copy_path() API?
Not a big deal of course, I can use this deprecated API just fine.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
Received on 2010-08-07 13:07:22 CEST

This is an archived mail posted to the Subversion Dev mailing list.