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

Re: What is the syntax of the svn: property values?

From: Barry Scott <barry_at_barrys-emacs.org>
Date: 2006-11-30 09:57:01 CET

On Nov 29, 2006, at 21:55, Daniel Rall wrote:

> On Wed, 29 Nov 2006, Barry Scott wrote:
>
>> I've read the svn book and searched with google and cannot find a
>> precise
>> definition of the values that are accepted for the svn: properties.
> ...
>> Is there a spec for what is allowed?
> ...
>
> 'svn help propset' describes what's allowed. Would you tell us what's
> lacking in the description below?

>
> --- snip ---
> Note: svn recognizes the following special versioned properties
> but will store any arbitrary properties set:
> svn:ignore - A newline separated list of file patterns to
> ignore.
> svn:keywords - Keywords to be expanded. Valid keywords are:
> URL, HeadURL - The URL for the head version of
> the object.
> Author, LastChangedBy - The last person to modify the file.
> Date, LastChangedDate - The date/time the object was last
> modified.
> Rev, Revision, - The last revision the object changed.
> LastChangedRevision
> Id - A compressed summary of the previous
> 4 keywords.
What is the list separator? Space, comma or something else?

> svn:executable - If present, make the file executable.
> svn:eol-style - One of 'native', 'LF', 'CR', 'CRLF'.
> svn:mime-type - The mimetype of the file. Used to determine
> whether to merge the file, and how to serve it from Apache.
> A mimetype beginning with 'text/' (or an absent mimetype) is
> treated as text. Anything else is treated as binary.
> svn:externals - A newline separated list of module specifiers,
> each of which consists of a relative directory path, optional
> revision flags, and an URL. For example
> foo http://example.com/repos/zig
> foo/bar -r 1234 http://example.com/repos/zag

Is --revision allowed?

> svn:needs-lock - If present, indicates that the file should be
> locked
> before it is modified. Makes the working copy file read-only
> when it is not locked.
> The svn:keywords, svn:executable, svn:eol-style, svn:mime-type and
> svn:needs-lock properties cannot be set on a directory. A non-
> recursive
> attempt will fail, and a recursive attempt will set the property
> only on the file children of the directory.
> --- snip ---

Barry

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Nov 30 09:57:39 2006

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.