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

Re: SubWCRev causing issues

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2007-07-05 12:48:54 CEST

On 7/5/07, Simon Large <simon.tortoisesvn@googlemail.com> wrote:
> > There's nothing to backport. Those changes happened on trunk, and the
> > fix was for trunk. Nothing in SubWCRev changed between 1.4.3 and
> > 1.4.4.
> > I think he's talking about 1.4.99, where the output stuff has been
> > fixed.
>
> Well he said 1.4.4, but not what he upgraded from... oh, I see. The
> nightly used to say 1.4.4 as well, didn't it?

For a long time yes, until I renamed that one to 1.4.99 to avoid confusion.

> > But the enter keypress will be left in there.
>
> I don't understand this one - what is good or bad about putting an
> enter keypress in the event queue?

I think it was you who reported that the SubWCRev doesn't quit anymore
without pressing the enter key first. That's why the keypress is in
there.
The problem we're facing here was introduced with the COM object.
Since I don't like a console window to pop up every time some script
accesses the SubWCRev COM object, I had to change SubWCRev from a
console app to a windows app. Which requires that in non-COM mode,
SubWCRev has to attach itself to an existing console or create one of
its own.

> He is using it to replace text in a file. But he's also sending the
> summary that appears on stdout/stderr to his buildlog. I would guess
> there's no parsing going on here, just appending useful human-readable
> info. I guess it saves having to crawl the WC twice, once for the
> include file and once for the build log.

Sorry, I missed that one.
Older SubWCRev versions output properly to stdout, but errors to
stderr (which Struan doesn't catch in the log). The current version
outputs everything to stdout.

Stefan

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Thu Jul 5 12:48:58 2007

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

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