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

Reply via email to