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

RE: [TSVN] Re: The Nightlies...

From: Leeuw van der, Tim <tim.leeuwvander_at_nl.unisys.com>
Date: 2005-05-20 13:01:11 CEST

Hi Russell,

In my experience with batch files on dos/windoze, it's the difference in the way you invoke your bat scrip... if you invoke it with 'call' (I think, could be 'start' or 'run') the cmd.exe interpreter returns to your batch-script, afterwards. If you invoke it directly, the new bat script overwrites the old one and you never return.

cheers,

--Tim

-----Original Message-----
From: news [mailto:news@sea.gmane.org]On Behalf Of Russell Hind
Sent: Friday, May 20, 2005 12:17 PM
To: dev@tortoisesvn.tigris.org
Subject: [TSVN] Re: The Nightlies...

Peter Mounce wrote:
>
> Sorry for the HTML mail - I don't know how to use Outlook's web client yet.
>
> Anyhow; can the build script that build the nightlies be modified so it doesn't delete the previous nightly until the current one has been successfully built?
>
> Ie, archive to yesterday folder;
>
> build current
>
> if success, delete yesterday.
>

Not easily. I have a bat file that calls TSVN's build.bat. I tried
getting my bat file to automatically copy the files after build.bat
runs, but for some reason after TSVN's build.bat runs, it never returns
to my bat file. TSVN .bat seems to completely exit after it runs which
is odd but I don't know why.

So it is a separate script that runs at a separate time that copies the
files, hence doesn't know if the build actually suceeded.

If anyone can work out why TSVN build.bat behaves oddly then this may be
possible.

Cheers

Russell

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Fri May 20 13:01:38 2005

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.