dev@glassfish.java.net

Re: svn checkout trouble

From: Tim Quinn <tim.quinn_at_oracle.com>
Date: Fri, 18 Jun 2010 09:21:25 -0500

On Jun 18, 2010, at 9:16 AM, Bobby Bissett wrote:

>> I have a script that checkout an entire workspace and start the
>> build while i walked away.
>
> I use:
>
> svn co <...> ; cd v3; svn up ; svn up ; svn up ; svn up ; svn up ;
> svn up ; svn up ; svn up ; svn up ; svn up ; svn up ; svn up ; svn
> up ; svn up ; svn up ; svn up ; svn up ; svn up ; svn up
Ouch.

Does svn set the exit status correctly when it fails so that a script
could loop (perhaps with an upper limit of retries) until success?
(No, I am not volunteering to write, publish, and support such a
script :-) .)

- Tim



Tim Quinn | Principal Member of Technical Staff | +1.847.604.9475
Oracle GlassFish Engineering
Lake Forest, IL