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

Re: SVN info command

From: Ryan Schmidt <subversion-2006Q1_at_ryandesign.com>
Date: 2006-01-25 18:19:57 CET

On Jan 25, 2006, at 17:21, Yong Lee wrote:

> On Wed, 2006-01-25 at 17:57 +1100, Lakshman Srilakshmanan wrote:
>
>> The "Last Changed Rev: 5357" indicates the last revision number
>> when a
>> change affected this directory or beneath it.
>>
>> The "Revision: 5403" is the last revision number used to change a
>> project.
>
> I am using this against the top level project dir to determine the
> last
> update to have affected a project and I just wanted to be sure that
> this
> was a valid method. My initial tests were showing this behaviour
> but I
> wanted to be sure i was seeing what I thought i was seeing :)

It is valid, so long as the root directory is up-to-date. But if you
haven't run "svn up" lately, then it'll only show you the last
changed revision as of the last time you ran "svn up". This is one of
the side-effects of allowing mixed-revision working copies.

You may want to use the "svnversion" command instead, which takes
longer to execute but gives you an accurate answer every time.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jan 25 18:45:19 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.