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

Re: "svn log" Doesn't Give Complete Log

From: Holger Stratmann <tigris_at_finch.de>
Date: Sun, 08 Mar 2009 13:40:05 +0100

Eric wrote:
> Isn't the command...
> svn log -r base:head TheFiles
> ... supposed to give the complete log of the Subversion-revisioned
> "TheFiles" tree, all the way from the beginning to the latest?
No, not at all.
"Base" is not the "base of the repository" (aka r1), it's the base of
the working copy!

I don't use the command line a lot, I usually have Trac, WebSVN and/or
TortoiseSVN installed, but it seems you're looking for
svn log 1:head
svn log head:1
> I'm working on about Subversion version 106 of the directory tree,
> and all I get from that command is the logs for versions 100 through 106.
Exactly :-)
Apparently, your working copy is at revision 100 (or 99? I'm not
sure...) and that's why "base" refers to that revision and gives you the
log from there up to head.
> On the other hand, if I say...
> svn log TheFiles
> ... (with no "-r" argument), I get all of the logs from 100 back to
> the beginning (but NOT from 106 back to the beginning), in reverse order.
> What am I doing wrong?
You're using the wrong parameters :-)))
AND you're confusing "base" with "revision 1".

Go check
Seems like everything that's happening to you is described there :-)
(and a lot more - I really recommend the book!)


To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-03-08 13:39:26 CET

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.