2008/7/10 Grant Edwards <grante_at_visi.com>:
> According to the svn book:
>
> Shows log messages from the repository. If no arguments are
> supplied, svn log shows the log messages for all files and
> directories inside of (and including) the current working
> directory of your working copy.
>
> That's sure not how it seems to work when I do it. When I do
> an "svn log" in a working copy, all I see are changes to the
> directory itself. If I do "svn info" and then do an "svn log"
> on the URL returned by the "info" command, I see logs for "all
> files and directories inside of" of the URL.
>
> How do I get a log for all changes made to a working tree
> without having to do an "svn log" on each and every file and
> directory?
>
> --
> Grant Edwards
>
Returning to your first message.
IMHO, the answer is very simple, and it is where Subversion differs
from CVS.
Change to a file is always propagated to its parent directory.
Asking for the list of changes on the root of repository, you will
get the list of _all_ revisions, 1..N of the repository.
Asking at a subdirectory of it, you will get a sublist of it -- only
those revisions that occurred in that subdirectory or below it.
Asking for the list of changes on the root of a project, you will get
a list of all changes that occurred to that project. There is no need
to ask individual files.
I also suggest you to look at the chapter "Bubble-Up Method" here:
http://subversion.tigris.org/design.html#server.fs.struct.bubble-up
I find it very impressive.
Also, try to use -v option to svn log command. It lists the paths that
were changed in the revisions that you are listing.
About specifying the revision ranges:
There do exist some keywords, used instead of revision numbers,
such as HEAD, BASE etc. There is no need to know the exact
number - use the keyword instead. Read about them in the book.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-07-10 23:26:29 CEST