getting rid of ^M on the server side
From: Haggerty, Joshua <Joshua.Haggerty_at_kci1.com>
Date: Wed, 29 Jul 2009 16:50:02 -0500
Our developers use subversion and edit source code on windows- our deployers checkout and scripts run on unix- and so we run into the dreaded ^M problem frequently- typical paradigm.
I have read about setting the property svn:eol-style and autoprops, but these are all client side and so I have to communicate the process with 50 developers and depend that they do it right. So instead- we wrote a post commit hook script that looks at the file extension then sets eol-style to native (if it .sh for instance) on that revision (had to do at revision because we needed to do it by URL not working copy as we are on the server). Works great- basically sets that property on every revision committed- but the eof:style doesn't appear to do anything on revisions. We still have ^M's when we set on the revision instead of no ^M's when we set on the working copy file.
Any explanations or ideas on alternatives are appreciated.
Thanks.
If you have received this transmission in error, please immediately
Kinetic Concepts, Inc.
******************************************************************************
------------------------------------------------------
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
|
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.