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

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.
Josh
*****************************************************************************
"CONFIDENTIALITY NOTICE: This transmission (including any
accompanying attachments) is confidential, is intended only for the
individual or entity named above, and is likely to contain privileged,
proprietary and confidential information that is exempt from disclosure
requests under applicable law. If you are not the intended recipient,
you are hereby notified that any disclosure, copying, distribution, use
of or reliance upon any of the information contained in this transmission
is strictly prohibited. Any inadvertent or unauthorized disclosure shall
not compromise or waive the confidentiality of this transmission or any
applicable attorney-client privilege.

If you have received this transmission in error, please immediately
notify us at postmaster_at_kci1.com."

Kinetic Concepts, Inc.

******************************************************************************

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-07-29 23:53:51 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.