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

Re: Allowed property names

From: John Szakmeister <john_at_szakmeister.net>
Date: 2005-12-10 12:54:30 CET

On Saturday 10 December 2005 05:46, Adam Warski wrote:
> Hello,
> what are the allowed property names for subversion? I tried setting a
> property which name is a number, and I get a bad property name error,
> for example:
> $ svn propset 1 z file.txt
> svn: Bad property name: '1'
>
> Is there no way to have a number be a property name?

IIRC, Subversion properties need to be valid XML attribute names. So no, you
can't have '1' as a property name. Have it start off with a letter instead.

HTH.

-John

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Dec 10 12:56:49 2005

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