Hi! [[[ svn:externals allows comments starting with '#' in its property value but it's not documented in 'svn help ps'. Fix that!
* subversion/svn/main.c (svn_cl__command_table[]): add note about comments in svn:externals. Patch by: Daniel Näslund <daniel{_AT_}longitudo.com> ]]] The help message for svn propset makes a distinction between 1.5 and earlier releases. I've made the note about '#' a general statement. It was last modified in r846987 and since that was back in aug 2003 I thought it would be safe to say it holds for all releases currently in use. I'm assuming no one uses something pre 1.4. But I haven't fully grasped how I can find when some feature was added in a release. Skimmed through CHANGES but couldn't find anything about comments in svn:externals. I'm attaching a script for testing setting and gettting svn:externals properties with comments. I've run the getopt_tests.py and they pass. /Daniel
Index: subversion/svn/main.c =================================================================== --- subversion/svn/main.c (revision 882854) +++ subversion/svn/main.c (arbetskopia) @@ -839,8 +839,9 @@ " svn:externals - A newline separated list of module specifiers,\n" " each of which consists of a relative directory path, optional\n" " revision flags and an URL. The ordering of the three elements\n" - " implements different behavior. Subversion 1.4 and earlier only\n" - " support the following formats and the URLs cannot have peg\n" + " implements different behavior. A line starting with a '#' is\n" + " considered a comment and is ignored. Subversion 1.4 and earlier\n" + " only support the following formats and the URLs cannot have peg\n" " revisions:\n" " foo http://example.com/repos/zig\n" " foo/bar -r 1234 http://example.com/repos/zag\n"
externals.sh
Description: Bourne shell script