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

RE: hook scripts line endings

From: Wayne Johnson <wayne_at_zk.com>
Date: Wed, 16 Nov 2011 15:56:48 -0800

> -----Original Message-----
> From: ujr [mailto:ujr_at_gmx.net]
> Sent: Wednesday, November 16, 2011 1:41 PM
> To: users_at_tortoisesvn.tigris.org
> Subject: RE: hook scripts line endings
>
> > > I want to suggest two things:
> > > 1) New version of TSVN created hook script templates with Linux
> line
> > > endings.
> >
> > This may fix your problem but will cause problems for everyone who
> uses
> > TSVN (a Windows tool) on Windows machines.
>
> Um, not really. The files in question could not be run on Windows
> anyway. These are Linux scripts (/bin/sh), not batch files. They are
> meant to be run on Linux, what's not possible as long as they cannot
be
> read correctly by the shell. Hence the files are rather useless in
it's
> current state.

Ah, yes they can; msys runs them just fine. But that's really not the
point.

1. Their purpose is to document what scripts are available and how
subversion calls them. It would be more convenient if they were
generated in a format compatible with cmd. I don't think it would take
very much work to get them to work with windows.

2. TSVN is a windows tool and by default should generate windows
compatible files.

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2879071

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-11-17 00:57:04 CET

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