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

youngest trunk revision?

From: Alex Teslik <alex_at_acatysmoof.com>
Date: 2006-04-13 08:49:15 CEST

Hello,

   I would like to know the youngest revision of only the trunk of my
repository. I know "svnlook youngest RPATH" will tell me the latest revision
number, but it tells the latest for the entire repository - not just the trunk.

  The reason I would like this number is because I would like a cron job that
monitors the respository and automatically creates a snapshot tarball, but
only when the repository has changed since the last tarball. I suppose I could
throw perl at it and extract the information from some other commands, but is
there a better way?

Thanks,
Alex

P.S.- post hooks are not a good solution since the commits may be too frequent
for the tarball to be made before the next commit.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Apr 13 08:50:28 2006

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.