[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: Daniel Rall <dlr_at_collab.net>
Date: 2006-11-29 22:55:39 CET

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.
    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
    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 ---

  • application/pgp-signature attachment: stored
Received on Wed Nov 29 22:57:04 2006

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