
This is the Title of the Book, eMatter Edition
Copyright © 2007 O’Reilly & Associates, Inc. All rights reserved.
42
|
Chapter 3: Guided Tour
------------------------------------------------------------------------
r2 | harry | Mon, 15 Jul 2002 17:47:57 -0500 | 1 line
Added main( ) methods.
------------------------------------------------------------------------
r1 | sally | Mon, 15 Jul 2002 17:40:08 -0500 | 1 line
Initial import
------------------------------------------------------------------------
Note that the log messages are printed in reverse chronological order by default. If
you wish to see a different range of revisions in a particular order, or just a single
revision, use the
--revision (-r) switch:
$ svn log --revision 5:19 # shows logs 5 through 19 in chronological order
$ svn log -r 19:5 # shows logs 5 through 19 in reverse order
$ svn log -r 8 # shows log for revision 8
You can also examine the log history of a single file or directory. For example:
$ svn log foo.c
...
$ svn log http://foo.com/svn/trunk/code/foo.c
...
These display log messages only for those revisions in which the working file (or
URL) changed.
If you want even more information about a file or directory,
svn log also takes a
--verbose (-v) switch. Because Subversion allows you to move and copy files and
directories, it is important to be able to track path changes in the filesystem, so in
verbose mode,
svn log will include a ...