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

Re: Automatic linefeed-conversion

From: Erik Huelsmann <ehuels_at_gmail.com>
Date: 2005-12-16 17:13:09 CET

On 12/16/05, Stephan Windmüller <windy@white-hawk.de> wrote:
> Hello!
>
> We have a SVN-repository to which both windows- and linux-users connect.
> Because there are different linefeeds for textfiles, it would be nice if
> SVN could convert all checkins to unix-style using a program like flip.
>
> My first guess was a hook-script, but the SVN-book says in a warning
>
> | Do not attempt to modify the transaction using hook scripts.
>
> So my question: Is there a way to convert textfiles automatically at the
> checkin?

You were reading the right book, but the wrong page:

http://svnbook.red-bean.com/en/1.1/ch07s02.html#svn-ch-7-sect-2.3.5

hth,

Erik.
Received on Fri Dec 16 17:16:13 2005

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