[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: Res Pons <pons32_at_hotmail.com>
Date: 2006-03-13 20:24:43 CET

I hope soon there's a server side control feature for this. Setting auto
props per user just doesn't make any sense to me and if user set their own,
wouldn't there be a conflict? I tried to implement this feature on my
server and I was told it yet doesn't exist or not possible.

----Original Message Follows----
From: Matt England <mengland@mengland.net>
Reply-To: "Matthew England" <mengland@mengland.net>
To: "Tony Morris" <tmorris@tmorris.net>
CC: "'Matthew England'" <mengland@mengland.net>, "'SVN Users email list'"
<users@subversion.tigris.org>
Subject: RE: Standardize on ASCII type: dos2unix pre-commit hook?
Date: Mon, 13 Mar 2006 09:46:54 -0600
MIME-Version: 1.0
X-Sender: mail.core.com:mme@127.0.0.1
Received: from tigris.org ([64.125.133.100]) by
bay0-mc11-f5.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.211); Mon, 13
Mar 2006 07:59:33 -0800
Received: (qmail 6209 invoked by uid 5000); 13 Mar 2006 15:47:24 -0000
Received: (qmail 6184 invoked from network); 13 Mar 2006 15:47:20 -0000
X-Message-Info: JGTYoYF78jFJA+6l6KVpL3VF28Gu+acEWFcqZBYkPd4=
Mailing-List: contact users-help@subversion.tigris.org; run by ezmlm
Precedence: bulk
X-No-Archive: yes
list-help: <mailto:users-help@subversion.tigris.org>
list-unsubscribe: <mailto:users-unsubscribe@subversion.tigris.org>
list-post: <mailto:users@subversion.tigris.org>
Delivered-To: mailing list users@subversion.tigris.org
X-Sasl-enc: 5C/nk0/2op07C8SObRxAShq7m2MPln7v5G+OywBbP+lt 1142264829
X-Mailer: QUALCOMM Windows Eudora Version 6.1.2.0
References: <6.1.2.0.2.20060312184643.0609c098@127.0.0.1>
<20060313010435.F210A11BD36@vscan02.westnet.com.au>
Return-Path: users-return-46369-pons32=hotmail.com@subversion.tigris.org
X-OriginalArrivalTime: 13 Mar 2006 15:59:34.0647 (UTC)
FILETIME=[1F677070:01C646B7]

Does there exist a way to manage this mechanism (svn:eol-style property, or
anything else) such that "ASCII standarizations" will be made regardless of
client-side settings?

In other words, is this a client-side setting or a server-side setting? Or
is this question pertinent?

If it's a client-side setting, then it's not nearly as useful to me. This
goes back to the general issue I have with subversion where I can't manage
the properties of clients from a single point (namely the server), which
would be much more powerful, in my opinion. Is there any move afoot for
future subversion changes to support a single-point-of-client control?

-Matt

At 3/12/2006 07:04 PM, Tony Morris wrote:
>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?

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

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Mar 13 20:26:11 2006

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.