You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Lukas Ruf <ru...@rawip.org> on 2004/07/29 11:42:38 UTC
How can I retrieve the head revision number
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
Re: How can I retrieve the head revision number
Posted by Lukas Ruf <ru...@rawip.org>.
> Ben Collins-Sussman <su...@collab.net> [2004-07-29 14:54]:
>
> Lukas Ruf wrote:
>
> >>François Beausoleil <fb...@ftml.net> [2004-07-29 14:15]:
> >>
> >>
> >>
> >>Lukas Ruf wrote:
> >>
> >>>is there any easy way to retrieve the head revision number of
> >>>repository?
> >>
> >>svn log -rHEAD https://
> >>
>
> 'svn status -u' also shows the HEAD revision at the bottom. And all
> you need is a working copy; no need to type a URL.
>
thanks! that's exactly what I need!
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
Re: How can I retrieve the head revision number
Posted by Ben Collins-Sussman <su...@collab.net>.
Lukas Ruf wrote:
>>François Beausoleil <fb...@ftml.net> [2004-07-29 14:15]:
>>
>>
>>
>>Lukas Ruf wrote:
>>
>>>is there any easy way to retrieve the head revision number of
>>>repository?
>>
>>svn log -rHEAD https://
>>
'svn status -u' also shows the HEAD revision at the bottom. And all you
need is a working copy; no need to type a URL.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: How can I retrieve the head revision number
Posted by Lukas Ruf <ru...@rawip.org>.
> François Beausoleil <fb...@ftml.net> [2004-07-29 14:15]:
>
>
>
> Lukas Ruf wrote:
> >is there any easy way to retrieve the head revision number of
> >repository?
>
> svn log -rHEAD https://
>
[...]
>
> Hope that helps !
thanks!
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
Re: How can I retrieve the head revision number
Posted by François Beausoleil <fb...@ftml.net>.
Lukas Ruf wrote:
> is there any easy way to retrieve the head revision number of
> repository?
svn log -rHEAD https://
The only caveat is that you have to specify the repository root. If you
specify a path underneath, you won't get a reply if that particular
folder hasn't changed at HEAD.
Hope that helps !
François
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org