You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by "Yount, Steffen" <SY...@medialinq.com> on 2003/12/16 00:23:01 UTC

best way to get "Last Changed Rev:" without a checkout

Hi,

I would like to find out the "Last Changed Rev:" on a tag directory without
having to check it out.

What is the best way to go about doing this?

Is there some kind of revprop I can query? Or do I have to do a "svn log" on
the url to extract this info from there?

I think it would be great if "svn info" would work on URLs like it does with
working copies...

Thanks in advance,

-Steffen

  


Re: best way to get "Last Changed Rev:" without a checkout

Posted by Daniel Schlyder <da...@bitblaze.com>.
[16.12.2003 01:23:01] Yount, Steffen:
> I would like to find out the "Last Changed Rev:" on a tag directory without
> having to check it out.

> I think it would be great if "svn info" would work on URLs like it does with
> working copies...

I think so too, although, if you're just interested in the revision number, you
would still have to parse its output, so you might as well use the output of

    svn log -strict -incremental TAG_URL

(the -incremental switch just gets rid of a useless line of '-' characters ;))

Regards,
Daniel Schlyder


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: best way to get "Last Changed Rev:" without a checkout

Posted by Ben Collins-Sussman <su...@collab.net>.
On Mon, 2003-12-15 at 18:23, Yount, Steffen wrote:
> Hi,
> 
> I would like to find out the "Last Changed Rev:" on a tag directory
> without having to check it out.
> 
> What is the best way to go about doing this?

$ svn ls --verbose http://svn.collab.net/repos/svn/tags

   2686 rooneg              Jul 24  2002 0.10/
   2687 rooneg              Jul 24  2002 0.10.1/
   2688 rooneg              Jul 24  2002 0.10.2/
   2689 rooneg              Jul 24  2002 0.11.1/
   2690 rooneg              Jul 24  2002 0.12.0/
   2691 rooneg              Jul 24  2002 0.13.0/
   2694 rooneg              Jul 24  2002 0.13.1/
   2695 rooneg              Jul 24  2002 0.13.2/
   2696 rooneg              Jul 24  2002 0.14.0/
   [...]

The first column is last-changed rev.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org