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

[TSVN] Re: TortoiseSVN not displaying standard error text in error message

From: Jens Scheidtmann <Jens.Scheidtmann_at_bayerbbs.com>
Date: 2004-12-13 08:25:41 CET

dev-return-10434-jens.scheidtmann=bayerbbs.com@tortoisesvn.tigris.org writes:

> Simon Large wrote:
> > Mitch Arends wrote:
> >
> >
> >>>The .bat file looks like the following:
> >>>perl C:\SVNScripts\check-case-insensitive.pl -debug -debug -debug %1
> >>>%2
> >>>
> >>>IF ERRORLEVEL 1 GOTO :ERROR
> >>>exit 0
> >>>
> >>>>ERROR
> >>>
> >>>REM echo Error found in commit 1>&2
> >>>exit 1
> >>>
> >>>I used the lines in the Perl script to created the .bat file. Thanks
> >>>in advance.

Replace _every_ occurence of STDERR with STDOUT in the perl script.

Especially the one at the end, where it says:

--------
if (defined($failmsg)) {
  print STDERR "\nFile name case conflict found:\n" . $failmsg . "\n";
  exit 1;
}

exit 0;
--------

Make this read:

...
  print STDOUT "\nFile name case conflict found:\n" . $failmsg . "\n";
        ^^^^^^
...

Most other output is related to debugging messages (there's the
variable $debug mentioned in ... if () line endings).

HTH,

Jens

-- 
Jens.Scheidtmann@bayerbbs.com
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Mon Dec 13 08:27:04 2004

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.