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

Re: Hook error messages

From: Michael Wood <mwood_at_its.uct.ac.za>
Date: 2003-12-04 08:50:22 CET

On Thu, Nov 13, 2003 at 09:20:30AM +0100, Tim Armes wrote:
> Philip Martin <philip@codematters.co.uk> wrote:
> >
[snip]
> > #!/bin/sh
> > echo "You must supply a log message" >&2
> > exit 1
[snip]
>
> Perfect. Can someone please tell me how to achieve the same thing in a
> Windows BAT file?

I believe someone mentioned on the dev or users list a while ago that
the ">&2" thing (or something similar) worked on Windows too (maybe just
WinNT/XP/2k/2k3?)

The thread was also about hook scripts, IIRC.

Just found the post:

http://www.contactor.se/~dast/svn/archive-2003-08/0551.shtml

> From: Branko Cibej (brane_at_xbc.nu)
[...]
> Heh. Echo can do it, so can anything else. Redirection to stderr is done
> the same way as on Unix: 1>&2. Windows Help is your friend.
[...]

-- 
Michael Wood <mwood@its.uct.ac.za>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Dec 4 08:51:10 2003

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.