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

Re: Document svn:auto-props on 'svn help propset'

From: Julian Foad <julianfoad_at_btopenworld.com>
Date: Sat, 14 Feb 2015 11:58:08 +0000

Bert Huijben wrote:
> Would something like
> [[
> Index: subversion/svn/svn.c
> ===================================================================
[...]
>    "    svn:global-ignores - Like svn:ignore, but inheritable.\n"
> +  "    svn:auto-props     - A list of file patterns with properties to apply on\n"
> +  "      new files. Multiple properties are separated with a simicolon, a doubled\n"
> +  "      semicolon is handled litteral.\n"

Spelling: "semicolon", "literal".

I suggest a tweak to the wording:

  "    svn:auto-props     - A list of file patterns with properties to apply on\n"
  "      new files. Separate multiple properties with a semicolon; to insert a\n"
  "      literal semicolon, double it.\n"

> +  "      Example:\n"
> +  "        *.c=svn:eol-style=native\n"
> +  "        *.html=svn:eol-style=native;svn:mime-type=text/html\n"
>    "    svn:externals      - A list of module specifiers, one per line, in the\n"
[...]
> ]]
> be useful?
>
> We document almost all the other properties processed by 'svn' there.

+1. For now, this is the place where we document the special props. The other prop commands refer to this one.

(I was recently thinking it would be nice to move the description of special props to its own help command, "svn help properties" for example, but that's another topic.)

> (I don't see svn:mime-type)

It's there, in the "properties on a file" subsection higher up.

- Julian
Received on 2015-02-14 12:58:59 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.