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

Re: Confusion about "special" revisions and svn log

From: Blair Zajac <blair_at_orcaware.com>
Date: 2006-02-11 20:45:15 CET

On Feb 8, 2006, at 10:32 PM, Lawrence Bruhmuller wrote:

> So is this is a known issue? Should I report it through some other
> means or will one of the developers pick this up?
>
> Also (to anyone) would appreciate any insight to the other part of
> my post, thanks in advance ...
>
> - Lawrence
>

It's not a bug.

Directories have their own revision numbers, and just because you add
a subdirectory, the containing directory does not have an implicit
'svn update' run on it, so it's still at revision 3. Remember,
Subversion will not pull any updates down from the server to your
client unless you request it, and this can include any changes on
directories.

So in this example, the COMMITTED revision is 3 for the containing
directory.

It goes to the same reason why you need to run 'svn update' in a
directory after doing 'svn commit' to get the 'svn log' to show the
revision.

I'm on a plane while writing this, but there's a section in the
Subversion book that describes how directories are versioned. I
would check that out.

Regards,
Blair

-- 
Blair Zajac, Ph.D.
CTO, OrcaWare Technologies
<blair@orcaware.com>
Subversion training, consulting and support
http://www.orcaware.com/svn/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Feb 12 03:42:38 2006

This is an archived mail posted to the Subversion Users mailing list.