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

Re: Hook Files Question

From: David Weintraub <qazwart_at_gmail.com>
Date: Tue, 18 Aug 2009 14:29:15 -0400

On Mon, Aug 17, 2009 at 7:50 PM, Andrey Repin <anrdaemon_at_freemail.ru> wrote:

> Greetings, David Weintraub!
> > Truth be known, you're probably better off not using batch scripting.
> Batch
> > scripts are very limited language wise. There are few looping control
> > structures, etc. You have more control if you use something like Python
> or
> > Perl for your hook scripts.
> Not true...
> http://jpsoftware.com/tccledes.htm
> :)
> I've been using it's predecessor, 4NT, for ages as REPLACEMENT for cmd.exe.

Well, that isn't exactly the standard Batch programming language (via the
cmd.exe). It is a batch like cmd.exe replacement. From what I've seen in the
documentation, it looks like it can bring standard Batch scripting language
to the level of the BASH shell which means it is possible to actually write
Subversion hooks.

However, even with all the enhancements, it. still lacks the power of a true
programming language like Python or Perl.

I am a Perl programmer myself, but I would highly recommend anyone who
programs to learn Python which is becoming the standard "glue language" for
the Internet. All of the standard Subversion triggers are written in Python
now, and so is much of Google's infrastructure. Python is free and
multienvironment. It works in Windows, Linux, Unix, and Mac OS X. You can
also use the Eclipse Integrated Development Environment (also free and
multiplatformed) to do Python programming and debugging.

David Weintraub
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-08-18 20:30:05 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.