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

Re: Obtaining revid of a given path in a repository

From: John Szakmeister <john_at_szakmeister.net>
Date: 2003-12-23 00:52:11 CET

On Monday 22 December 2003 18:34, Lele Gaifax wrote:
> >>>>> "John" == John Szakmeister <john@szakmeister.net> writes:
>
> John> On Monday 22 December 2003 18:09, Lele Gaifax wrote:
> >> [snip] So, how can I extract the last-changed-revision of an
> >> arbitrary path in the repos?
>
> John> I'm not sure if this will help or not, but 'svn ls -v' lists
> John> the revision number of the last commit.
>
> Yup! A new option a day... :-)
>
> John> Hope that helps, John
>
> Yes, I think that's enough. Shouldn't be there also a more
> programmatic way to get there? I mean, some kind of
>
> $ svn metapropget svn:last-changed-rev URL

Uh, well, maybe. 'svn info /path/to/file.txt' also dumps the last changed
revision. It's a little more straight-forward. :-) Don't know why it didn't
occur to me before. :-)

-John

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Dec 23 00:41:33 2003

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.