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

RE: setting the EOL property throughout a repo?

From: Giulio Troccoli <Giulio.Troccoli_at_uk.linedata.com>
Date: Tue, 25 Nov 2008 11:44:19 +0000


Linedata Services (UK) Ltd
Registered Office: Bishopsgate Court, 4-12 Norton Folgate, London, E1 6DB
Registered in England and Wales No 3027851 VAT Reg No 778499447

-----Original Message-----

> From: Robert P. J. Day [mailto:rpjday_at_crashcourse.ca]
> Sent: 25 November 2008 11:36
> To: Subversion mailing list
> Subject: setting the EOL property throughout a repo?
> just want to verify that, if i want to set the UNIX-style EOL
> property on all of the text files in a source code repo (that is, all
> the .c,.cpp, .h, etc, etc files), the easiest way is just to run the
> appropriate "find" command and execute "svn propset" on each matching
> file? that *seems* like the obvious way, i just didn't know if there
> was something more clever or elegant. thanks.
> rday

That's correct. Them you should also set the auto-prop for new files and change the pre-commit hook to reject a commit when the svn:eol-style property is not what you want. All this will ensure that you will not have the same problem in the future.


To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-11-25 12:45:09 CET

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