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

Re: [Subclipse-dev] Last changed revision

From: Mark Phippard <markphip_at_gmail.com>
Date: 2007-07-02 17:52:49 CEST

On 7/2/07, Thomas Hallgren <thomas@tada.se> wrote:

> The documentation for ISVNDirEntry.getLastChangedRevision() simply
> states "the revision number of the last change". Does that mean the last
> change on that entry specifically or does it include any change beneath
> it? If it is the former, what would be the most efficient way to obtain
> the latter from a remote repository that has not been checked out?

It is just going to show whatever svn info on the same item would
show. It will be the lastChangedRevision of that item. However, in
the case of a folder, this will be any change that happened beneath it
in the hierarchy.

For example:

svn info http://subclipse.tigris.org/svn/subclipse/trunk
Path: trunk
URL: http://subclipse.tigris.org/svn/subclipse/trunk
Repository Root: http://subclipse.tigris.org/svn/subclipse
Repository UUID: a34601ff-79c0-0310-90bb-fac03367fbd1
Revision: 3198
Node Kind: directory
Last Changed Author: markphip
Last Changed Rev: 3198
Last Changed Date: 2007-06-30 14:43:05 -0400 (Sat, 30 Jun 2007)

r3198 is the current HEAD revision of the entire repos. The trunk
folder shows 3198 but there probably have not been any changes to that
actual folder in thousands of revisions.

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: dev-help@subclipse.tigris.org
Received on Mon Jul 2 17:52:39 2007

This is an archived mail posted to the Subclipse Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.