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

Re: "svn log" after "svn commit"

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2006-08-03 20:07:39 CEST

On 8/2/06, Brent Baadsgaard <Brent.Baadsgaard@dalsemi.com> wrote:
>
>
>
> I am new to subversion (using 1.3.2). I've noticed a behavior I did not
> expect. When I execute "svn commit", I'm notified that the repository
> version is updated. When I do an "svn log" after that, the log does not show
> the version of the last commit. I have to do an "svn update" in order for
> the latest version (HEAD) to show up with "svn log". Is this a bug or a
> feature?

It's a side effect of allowing mixed revision working copies.
Committing a modification to a file does not update its parent
directory to the new revision, because doing so might result in a
conflict. svn log defaults to targeting your current working
directory, so it starts at the older rev, missing your new change.

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Aug 3 20:29:49 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.