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

RE: Automated nightly build ... only when updated

From: DW Dennis Wheeler <dwheeler_at_ag.com>
Date: Tue, 27 Jan 2009 13:31:06 -0800

capture the output of 'svnversion -c' before and after your 'svn update'
if they are the same, then no need to build.

________________________________

        From: Peter von Kaenel [mailto:Peter.vonKaenel_at_harmonicinc.com]
        Sent: Monday, January 19, 2009 4:11 AM
        To: users_at_subversion.tigris.org
        Subject: Automated nightly build ... only when updated
        
        

         

        Hi,

         

        I have a very simple nightly build script that performs an
update, rebuilds everything, and then emails out a report with the build
results. This runs every night which is a bit annoying if the project
has not been updated. Is there way to build a script that only performs
the build and emails the result if there has been an update? I did a
quick check on svn return codes, and could not find anything useful.
Any guidance would be appreciated.

         

        Thanks,

        Peter

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1060362

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-01-27 23:28:49 CET

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