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

Re: SVN patch issue with property changes

From: Julian Foad <julianfoad_at_apache.org>
Date: Thu, 28 Jun 2018 17:22:46 -0000

Dipu H wrote:
> Property changes on: xpathleak.py
> ___________________________________________________________________
> Modified: svn:executable
> ## -0,0 +1 ##
> +* <<<<<<<------------- Yes, there is a change, value * added...
> \ No newline at end of property
[...]
> The patch is rejected without changing the property. The destination file already has svn:executable property present in it. But the value is empty. Ideally, if the patch was applied properly, the value should have been changed to "*".

I tested this on trunk, and get the same conflict with a property named 'p' and value changing from empty to 'v'. It is not caused by special handling of the value '*'.

The bug seems to be that 'svn patch' fails to apply any patch of this form, that tries to change a property value from empty to non-empty.

- Julian
Received on 2018-06-28 19:22:54 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.