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

Re: svn_wc_get_pristine_copy_path and deleted file

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Fri, 29 Apr 2011 18:57:46 +0200

On Fri, Apr 29, 2011 at 18:48, Stefan Küng <tortoisesvn_at_gmail.com> wrote:
> Hi,
>
> The (deprecated) API svn_wc_get_pristine_copy_path has a regression:
> in 1.6, it properly returned the pristine path of files that were removed
> (svn rm).
> But now, it returns a bogus path (..\.svn\nonexistent-path), not the path of
> the BASE file of the removed file.
> I haven't tested svn_wc_get_pristine_contents2 since that returns a stream
> and I need a file to pass to the external diff application.

Update:
svn_wc_get_pristine_contents2 doesn't work either in this situation.

Stefan

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net
Received on 2011-04-29 18:58:35 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.