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

Re: Mixed Unix-Windows development

From: Ryan Schmidt <subversion-2009b_at_ryandesign.com>
Date: Sat, 16 May 2009 19:44:39 -0500

On May 16, 2009, at 17:26, Alexey Ivanov wrote:

>> Perhaps you
>> committed, then set the property?
>
> Yes, that was the case. But how can I set the property on file
> before it's first commit?

svn add somefile
svn propset svn:eol-style native somefile
svn commit somefile

Or, if you have set up an auto-props rule that matches somefile, then
the properties will be automatically set for you the moment you add
the file, and will thus be part of the first commit.

> 1. Can I glue svn:eol-style=native property to some svn folder, so
> that any new
> file commited to it - will receive the same property automatically
> - regardless of
> auto-props settings absence in per-user svn config?

No, there's no feature like that in Subversion. Use auto-props on the
client, and set up a pre-commit hook on the server to reject commits
that do not conform to your property policy.

> It will be pleasant, if this explanation will be included in the
> next version of SVNbook,
> better yet - if SVN client config files will be correctly parsed
> regardless of line ending style
> under all platforms (so it will be possible to redistribute them).

That's a good suggestion, but note that book feedback should be sent
to the book mailing list, which you can find under the "Feedback/
Contributing" heading on

http://svnbook.org/

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2286055

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-05-17 02:46:53 CEST

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.