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

Re: Server side svn:auto-props, how to set it correctly?

From: Bo Berglund <bo.berglund_at_gmail.com>
Date: Fri, 16 Feb 2018 10:06:42 +0100

On Fri, 16 Feb 2018 03:05:07 +0100, Branko ?ibej <brane_at_apache.org>
wrote:

>> How can I set the auto-props on the server itself
>
>Not on the server, on the root of the repository, which is a directory.

Thanks,
I thought that the server root was controlled by a server conf file
rather than it being some directory possible to check out.
Is it also possible to put files in the root?
When I used cvs2svn I had errors when there were files in the root of
the CVS repo so I had to remove them. My understanding was that the
top level stuff *had* to be directories rather than files....

>For example:
>
>svn checkout ${REPOSITORY_ROOT_URL} ${WC_PATH} --depth empty
>cd ${WC_PATH}
>svn propset ${PROPERTY} ${VALUE}
>svn commit -m "Commit message"
>
>
>This will set a property on the repository root directory.

Is this how it would work? :

svn co https://server.svn.repo/ top --depth empty
cd top
svn propedit svn:auto-props ./

editor pops up and I enter all of the lines like:
*.c = svn:eol-style=native
*.cpp = svn:eol-style=native
....

when closing the editor the values are applied to the working copy
directory itself?

svn commit -m "log message"

I.e. can I specify the target as the current dir like shown above?

-- 
Bo Berglund
Developer in Sweden
Received on 2018-02-16 10:07:50 CET

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.