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

Re: [BOOK] possible error?

From: Ben Reser <ben_at_reser.org>
Date: 2004-10-29 02:49:48 CEST

On Thu, Oct 28, 2004 at 02:12:37PM -0700, Anna Yudovin wrote:
> Dear Development team,
> I apologize if I've wasted your time, but I think I
> found an error in
> Chapter 3.
> Revisions: Numbers, Keywords, and Dates, Oh My!
> Revision Keywords
>
> The text is:
> COMMITTED
> The last revision in which an item changed before (or
> at) BASE.
>
> What I think you meant was:
> COMMITTED
> The last revision in which an item changed before (or
> at) *HEAD*.

Nope it's right in the book.

COMMITTED only has meaning in the context of a wc and is resolved
locally not at the server. So COMMITTED means the rev the file as you
see it in your local wc was last changed in. There may of course be a
change that your wc may not reflect that would be newer than BASE.

For example if you do svn update -r 1234 and then do:
svn log -r COMMITTED foo

Say foo had commits in 1222 and 1240. You would get the log of 1222
from the above command.

-- 
Ben Reser <ben@reser.org>
http://ben.reser.org
"Conscience is the inner voice which warns us somebody may be looking."
- H.L. Mencken
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Oct 29 02:50:10 2004

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

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