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

Information about updated project branch/tag

From: Edvard Majakari <edvard.majakari_at_staselog.com>
Date: 2005-05-31 12:06:58 CEST

I use a daemon for building my projects. I have created a simple post-commit
script along the following lines:

repo, rev = sys.argv[1:]

conn = daemon_connection()
conn.send_notify(repo, rev)

After receiving notification, the build daemon updates the repository and
builds it. The problem is that the daemon doesn't know which branch to
update. I have a development branch (trunk), release branch and latest
release- and release-candidate tags, which may need updates. Thus, when the
build daemon receives notification, it has to update all the branches (and
tags for minor typofixes etc) before it knows what it needs to build.

So, is it possible to find out (relatively quickly) what project on the
repository got updated in post-commit phase?

--
# Edvard Majakari		Software Engineer
# PGP PUBLIC KEY available    	Soli Deo Gloria!
$_ = '456476617264204d616a616b6172692c20612043687269737469616e20'; print
join('',map{chr hex}(split/(\w{2})/)),uc substr(crypt(60281449,'es'),2,4),"\n";
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue May 31 19:22:03 2005

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.