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

Re: svn commit: r960807 - /subversion/trunk/subversion/tests/cmdline/patch_tests.py

From: Stefan Sperling <stsp_at_elego.de>
Date: Tue, 6 Jul 2010 11:27:26 +0200

On Tue, Jul 06, 2010 at 06:24:59AM -0000, dannas_at_apache.org wrote:
> Author: dannas
> Date: Tue Jul 6 06:24:59 2010
> New Revision: 960807
>
> URL: http://svn.apache.org/viewvc?rev=960807&view=rev
> Log:
> Follow-up to r960800. Property changes should be notified in the same
> manner as is done for updates.
>
> * subversion/tests/cmdline/patch_tests.py
> (patch_with_properties): See above.
>
> Modified:
> subversion/trunk/subversion/tests/cmdline/patch_tests.py
>
> Modified: subversion/trunk/subversion/tests/cmdline/patch_tests.py
> URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/cmdline/patch_tests.py?rev=960807&r1=960806&r2=960807&view=diff
> ==============================================================================
> --- subversion/trunk/subversion/tests/cmdline/patch_tests.py (original)
> +++ subversion/trunk/subversion/tests/cmdline/patch_tests.py Tue Jul 6 06:24:59 2010
> @@ -2204,7 +2204,7 @@ def patch_with_properties(sbox):
> iota_prop_contents = "This is the property 'prop'.\n"
>
> expected_output = [
> - "property 'prop' set on '%s\n'" % os.path.join(wc_dir, 'iota'),
> + 'U %s\n' % os.path.join(wc_dir, 'iota'),

Please use the second column for property updates.

It should look similar to this:

$ svn patch /tmp/test.diff
U file1.txt # only content changes, no prop changes
UU file2.txt # content and prop changes
 U file2.txt # only prop changes

If the existing notification codes aren't enough to make the svn
client produce suitable output, you can add new notification codes.

Stefan
Received on 2010-07-06 11:28:27 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.