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

RE: Noob question on pre-commit windows script

From: Tom Blough <tom.blough_at_truetemper.com>
Date: Fri, 8 Feb 2008 10:12:51 +0800

> Simon Large wrote
>
> <snip>
> At least on my system I don't need to specify cmd.exe; a
> batch file runs just fine for me. The hook settings shown in
> the docs are a snapshot of one I have actually tried.
>
> On another issue, I don't get any output into the command
> window. Using this sample script: @echo off echo hello Simon
> dir c:\ pause
>
> I get a blank box flash up and disappear immediately. If I
> change the 3rd line to dir/s the box stays up for as long as
> the dir takes, but there is still no output. Pause doesn't
> work, but maybe that's to be expected as we're not expecting
> the hook to require user input.

I experienced the same thing with wait and hide settings and the use of
pause. No mater what I did, I could not get the command window to stay on
the screen. AS of W2K, .cmd and .bat are synonyms and since DOS is "gone",
you no longer need to exec a command interperter to execute one.

Cheers,

Tom

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: users-help_at_tortoisesvn.tigris.org
Received on 2008-02-08 03:11:42 CET

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