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

Re: svn commit: r919460 - filtering svn patch targets

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Fri, 26 Mar 2010 19:57:09 +0100

On 26.03.2010 18:17, Stefan Sperling wrote:
> On Wed, Mar 10, 2010 at 06:56:12PM +0100, Stefan Küng wrote:
>> And it would be great if I could tell where to save the result, i.e.
>> not having the patch applied to the target file but to a copy of
>> that file instead so I can show the user a preview of the result
>> without actually modifying the real file yet.
>
> This should be possible in trunk now, by passing the new patched_tempfiles
> and reject_tempfiles parameters and setting dry_run to TRUE.
>
> Can you check if the current API matches your requirements?
> See subversion/tests/libsvn_client/client-test.c for a trivial example.

Looks very good! Thanks a lot for implementing this.

Another thought, not sure if it would make sense or not:
would an option to ignore whitespace changes make sense?

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
Received on 2010-03-26 19:57:43 CET

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.