You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by da...@apache.org on 2010/07/06 08:24:59 UTC
svn commit: r960807 -
/subversion/trunk/subversion/tests/cmdline/patch_tests.py
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'),
]
expected_disk = svntest.main.greek_state.copy()
Re: svn commit: r960807 -
/subversion/trunk/subversion/tests/cmdline/patch_tests.py
Posted by Stefan Sperling <st...@elego.de>.
On Tue, Jul 06, 2010 at 06:24:59AM -0000, dannas@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