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

How can I retrieve the head revision number

From: Lukas Ruf <ruf_at_rawip.org>
Date: 2004-07-29 13:42:38 CEST

Dear all,

is there any easy way to retrieve the head revision number of
repository?

I thougt, first, I could parse the output of 'svn info .'. However, I
would require me to run an update first....

  uccellina:Report!62> svn info .
  Path: .
  URL: https://.....
  Repository UUID: dddf281d-45d8-0310-a7ba-b54f5c4e9fac
=>Revision: 83
  Node Kind: directory
  Schedule: normal
  Last Changed Author: ruf
  Last Changed Rev: 83
  Last Changed Date: 2004-06-24 11:17:17 +0200 (Thu, 24 Jun 2004)

  uccellina:Report!63> svn update .
  At revision 138.
  uccellina:Report!64> svn info .
  Path: .
  URL: https://.....
  Repository UUID: dddf281d-45d8-0310-a7ba-b54f5c4e9fac
=>Revision: 138
  Node Kind: directory
  Schedule: normal
  Last Changed Author: ruf
  Last Changed Rev: 138
  Last Changed Date: 2004-07-29 13:32:37 +0200 (Thu, 29 Jul 2004)

Hence, I am asking how others retrieve the head revision number in a
more elegant way...

Thanks for any help!

wbr,
Lukas

-- 
Lukas Ruf           | Wanna know anything about raw |
<http://www.lpr.ch> | IP? -> <http://www.rawip.org> |
eMail Style Guide: <http://www.rawip.org/style.html>|
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jul 29 13:42:56 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.