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

RE: Re: SVN Update Misc

From: Leeuw van der, Tim <tim.leeuwvander_at_nl.unisys.com>
Date: 2004-11-02 10:05:18 CET

Wouldn't it be handy for use in shell-scripts, if the command-line executable would indicate this in it's return-value?

Something like:

0 - successful update, no conflicts
1 - successful update, but with conflicts
2 - error during update

cheers,

--Tim

-----Original Message-----
From: cmpilato@localhost.localdomain [mailto:cmpilato@localhost.localdomain]On Behalf Of C. Michael Pilato
Sent: Tuesday, November 02, 2004 9:05 AM
To: BRUGGEMAN Jens (JBRG)
Cc: 'users@subversion.tigris.org'
Subject: Re: SVN Update Misc

"BRUGGEMAN Jens (JBRG)" <Jens.Bruggeman@seco-m.be> writes:

> Hi,
>
> Let's say I want to automate the svn update command so each day before I get
> to office, a batch script does an SVN update and if succeeded a rebuild of
> all libraries.
> How can I detect from the command 'svn update' that there were any conflicts
> during this update which I need to manually resolve? (If so, no rebuilding
> needs to be done.)

Funny you should ask this at the *same time* I'm adding conflict
detection to stress.pl. Simply grep the output of 'svn update' for
lines that look like: 'C /some/path/here'

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Nov 2 10:05:59 2004

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.