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

Re: svn commit: r1413015 - in /subversion/trunk/subversion: svn/propedit-cmd.c svn/propset-cmd.c tests/cmdline/prop_tests.py tests/cmdline/stat_tests.py tests/cmdline/svntest/actions.py

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Sat, 24 Nov 2012 07:45:43 +0200

brane_at_apache.org wrote on Fri, Nov 23, 2012 at 18:24:42 -0000:
> Author: brane
> Date: Fri Nov 23 18:24:40 2012
> New Revision: 1413015
>
> URL: http://svn.apache.org/viewvc?rev=1413015&view=rev
> Log:
> Fix issue #4261 (require --force to set unknown svn: prop names).
>
> +def almost_known_prop_names(sbox):
> + "propset with svn: prefix but unknown name"
> +
> + sbox.build()

Pass read_only=True ?

> + wc_dir = sbox.wc_dir
> + iota_path = sbox.ospath('iota')
> +
> + # Node properties
> + svntest.actions.set_prop('svn:exemutable', 'x', iota_path,
> + "svn: E195011: 'svn:exemutable' "
> + "is not a valid svn: property name")
> + svntest.actions.set_prop('svn:exemutable', 'x', iota_path, force=True)
> + svntest.actions.set_prop('tsvn:exemutable', 'x', iota_path)
Received on 2012-11-24 06:46:26 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.