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

Re: Some Queries about subversion supported features

From: Dominic Anello <danello_at_danky.com>
Date: 2006-08-07 14:23:30 CEST

On 2006-08-07 16:02:39 +0500, Aamir Yaseen wrote:
> Hi ALL,
> Thanks Schmidt and Levy for details answers.
> I have following questions regarding Versioning.
>
> According to subversion Book: "Unlike those of many other version control
> systems, Subversion's revision numbers apply to entire trees, not individual
> files. Each revision number selects an entire tree, a particular state of
> the repository after some committed change".
>
> Question: Is there any way to find the last modified version of the
> specified file in the repository.
> Example: there is a file abc.txt in repository with current repository
> version of 37, and this file was last time changed in repository version 13,
> after that its version is incrementing due to subversion's Versioning Model.
> Now before making any change in abc.txt, I want to get the last updated
> version of this file (not the repository). How can I find that version (13
> here in this example)?
>
> What should be the command or any URL?
> Any help will be highly appreciated.
----8<----

Not sure if there are other ways, but this works:
$ svn log -q --limit 1 http://localhost/svn/trunk/cgi/album.pl
------------------------------------------------------------------------
r29 | danello | 2004-10-09 19:34:08 -0400 (Sat, 09 Oct 2004)
------------------------------------------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Aug 7 14:26:41 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.