subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bo Berglund <bo.bergl...@gmail.com>
Subject Re: Server side svn:auto-props, how to set it correctly?
Date Fri, 16 Feb 2018 09:06:42 GMT
On Fri, 16 Feb 2018 03:05:07 +0100, Branko ?ibej <brane@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


Mime
View raw message