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

RE: Standardize on ASCII type: dos2unix pre-commit hook?

From: Tony Morris <tmorris_at_tmorris.net>
Date: 2006-03-13 02:04:23 CET

I am by no means an expert, but I have used the svn:eol-style property.
You can set it to apply to commits of specific file types in the Subversion
config file as an 'auto-prop'.

Tony Morris
http://tmorris.net/
 

-----Original Message-----
From: Matt England [mailto:mengland@mengland.net]
Sent: Monday, March 13, 2006 10:52 AM
To: SVN Users email list
Cc: mengland@mengland.net
Subject: Standardize on ASCII type: dos2unix pre-commit hook?

The various repos I administer finds users putting different text/ASCII
types (dos and unix, maybe some old mac) in the text-file content. This
screws up the diff comparisons, merges, and other things.

I'd like to auto-force a standard unix text across certain repos (if not
all of them). My current thinking is to run a dos2unix/mac2unix pre-commit
hook. Is this a good/best way to go?

I assume I am not the first one to experience and address this
problem. I'm looking to learn from others. Suggestions/background/advice?

-Matt

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Mar 13 02:05:14 2006

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