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

Re: Renaming files on win32

From: Ed MacDonald <edmacdonald_at_hotmail.com>
Date: 2004-12-23 20:24:36 CET

That's the beauty of the hook-script facility - you can create scripts in
RPG if you want. For scripts that need to do subversion-ish things, you
either need a language binding to the libs (there seems to be lots of choice
here) or you can make calls to the SVN binaries like svnlook.exe (I'm mostly
a windows guy).

For us Windows folks, ActiveState have a very good, very free perl
implementation. You don't have to be a perl type (I'm not) just close your
eyes, double-click a few times, and then follow the instructions with the
hook-script.

If a windows person for some reason isn't comfortable installing perl on
their server, or if you can't find perl for your platform, you can implement
the case-insensitive script in python, C, or a dos batch file if you are a
masochist. A few reads through the script should give any non-perl
programmer the basic logic. I would then look at other scripts in my
language of choice to help make sense of it all. You'll probably find folks
here very helpful with such an effort.

Ed

> >
> > So, is there anyone on the list that has an *actual* as opposed to
> > *theoretical* environment that won't work with the hook script?
>
> I am personally not opposed to using a hook script for this. However, I
> will say the fact that the script is written in Perl is going to place it
> outside the "comfort zone" for many Windows administrators.
>
> Also, to answer your question, I am pretty far along on a port of
> Subversion to OS/400. For the most part, Perl does not exist on OS/400.
> There is an unofficial port, but I do not know how generally compatible it
> is. I also would not be too confident in my ability to port SWIG and all
> that is needed to make Perl bindings work on OS/400.
>
> I would maybe like to see a version of this hook script written in C, so
> as to possibly make it easier to package it in a way that was more
> comfortable for user's that are not comfortable with Perl. I have no idea
> how much the "magic" of the existing script depends on features provided
> by Perl for which there are no easy C equivalents.
>
> Thanks
>
> Mark
>
>
>
>
____________________________________________________________________________
_
> Scanned for SoftLanding Systems, Inc. by IBM Email Security Management
Services powered by MessageLabs.
>
____________________________________________________________________________
_
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Dec 23 20:31:20 2004

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.