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

doing a massive EOL normalization for a small group of users?

From: Robert P. J. Day <rpjday_at_crashcourse.ca>
Date: Wed, 29 Oct 2008 13:15:34 -0400

   currently, i have a small group all working out of the
same repo that was inherited from elsewhere, which contains
a chaotic mixture of LF and CRLF end-of-line characters on
all of the *.c, *.h and Makefile files. what is the best
(and safest) way to do a massive normalization and change
everything to the UNIX native eof of LF, across the repo
and everyone's working copies?

   i don't want to have to force everyone to stop editing,
save and check back in everything they're working on because
some of the work is still in progress, so we can assume that
*some* stuff in working copies will differ from the repo --
hopefully, not a lot, and not in an unmergeable way once the
eol change is taken into account.

   first, in order to get everyone's sessions in sync, should
i get them to change their .subversion/config files to enable
auto-props, then uncomment the appropriate eol-style=native
lines? i checked and some of them don't have that set, so
i was assuming that would be step one.

   and after that, what? i can have everyone "dos2unix" those
files in their working copies, then i can check in a dos2unix'ed
clean version, and have everyone try to update. is that the
right recipe? thanks.


To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-10-29 18:15:53 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.