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

Re: eol-style property

From: Ryan Schmidt <subversion-2006Q1_at_ryandesign.com>
Date: 2005-12-28 12:08:19 CET

On Dec 27, 2005, at 16:51, Ilja Golshtein wrote:

> I have a pretty large SVN repository.
> It was used by Unix users only till recently
> and I faced with CR/LF problem.
>
> Is it possible to set eol-style property inside repository
> and avoid checkout-set-commit circle?

No; you will need to check out, set the property, and commit. (You could

You can set your clients' config files to use auto-props and
automatically set the eol-style in the future.

Auto-props usually only take effect when you commit new files, and
not when you already have files in the repository, but I believe
there is a script around which will apply auto-props definitions
after the fact.

You can write a pre-commit hook (or use an existing one) which
verifies that the properties of committed files match your policy,
and rejects files that do not conform.

> Is it a problem if I merge changes from branch
> where eol-style is not set to trunk where it is set?

As far as I know, yes, that becomes rather problematic.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Dec 28 12:14:09 2005

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.