[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: Andreas Schweigstill <andreas_at_schweigstill.de>
Date: 2006-08-07 14:20:38 CEST

Dear Aamir Yaseen!

Aamir Yaseen wrote:
> Question: Is there any way to find the last modified version of the
> specified file in the repository.

Yes, this information can be retrieved for working copies and direct
repository access:

aschweig@simpson:~> svn info Makefile
Path: Makefile
Name: Makefile
URL: svn://localhost:8690/project/trunk/Makefile
Repository Root: svn://localhost:8690/project
Repository UUID: d467969e-7bf4-0310-9604-f1a2207742dd
Revision: 570
Node Kind: file
Schedule: normal
Last Changed Author: aschweig
Last Changed Rev: 258
Last Changed Date: 2005-10-10 11:33:27 +0200 (Mon, 10 Oct 2005)
Text Last Updated: 2005-10-10 11:33:27 +0200 (Mon, 10 Oct 2005)
Checksum: 8ba6cf037017ad81b9d108404cb08235

aschweig_at_simpson:~> svn info svn://localhost:8690/project/trunk/Makefile
Path: Makefile
Name: Makefile
URL: svn://localhost:8690/project/trunk/Makefile
Repository Root: svn://localhost:8690/project
Repository UUID: d467969e-7bf4-0310-9604-f1a2207742dd
Revision: 570
Node Kind: file
Last Changed Author: aschweig
Last Changed Rev: 258
Last Changed Date: 2005-10-10 11:33:27 +0200 (Mon, 10 Oct 2005)

The complete history can be shown with "svn log" command; differences
between revisions can be shown with "svn diff" and "svn blame".

> 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)?

abc.txt will also be present in revision 14-37. As you can see in the
output from "svn info" there are the "Revision:" and "Last Changed Rev:"
fields.

Why don't you just install Subversion and try it out by yourself?

With best regards
Andreas Schweigstill

-- 
Dipl.-Phys. Andreas Schweigstill
Schweigstill IT | Embedded Systems
Schauenburgerstraße 116, D-24118 Kiel, Germany
Phone: (+49) 431 5606-435, Fax: (+49) 431 5606-436
Mobile: (+49) 171 6921973, Web: http://www.schweigstill.de/
---------------------------------------------------------------------
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:22:16 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.