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

Re: Properties with colons

From: Conor MacNeill <conor_at_cenqua.com>
Date: 2007-05-03 18:27:41 CEST

C. Michael Pilato wrote:
>
> It's something that the user should not have done. The Subversion
> client-side code tries to prevent this from happening, but obviously you can
> directly manipulate the repository and make it happen.
>

What clients prevent this? My 1.4.3 client on Windows does not seem to
stop this (see below). What would direct manipulation involve? I don't
think anything unusual was done in this case.

Also I noted in the SVN book the following at:

http://svnbook.red-bean.com/nightly/en/svn.advanced.props.html

"A property name must start with a letter, a colon (:), or an underscore
(_)"

Is that really ok to use a colon?

On my current system:

C:\Users\conor\work\repo\working\test>svn --version
svn, version 1.4.3 (r23084)
   compiled Jan 18 2007, 07:47:40

C:\Users\conor\work\repo\working\test>svn add test.txt
A test.txt

C:\Users\conor\work\repo\working\test>svn ps svn::keywords Revision test.txt
property 'svn::keywords' set on 'test.txt'

C:\Users\conor\work\repo\working\test>svn commit -m "test"
Adding test.txt
Transmitting file data .
Committed revision 2.

C:\Users\conor\work\repo\working\test>svn ps blah:blah Test test.txt
property 'blah:blah' set on 'test.txt'

C:\Users\conor\work\repo\working\test>svn commit -m "test2"
Sending test.txt

Committed revision 3.

C:\Users\conor\work\repo\working\test>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu May 3 18:28:27 2007

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.