11.07.2015 Views

Version Control with Subversion - Login

Version Control with Subversion - Login

Version Control with Subversion - Login

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Subversion</strong> Complete ReferenceAdded defines.------------------------------------------------------------------------r31 | harry | 2003-01-10 12:25:08 -0600 (Fri, 10 Jan 2003) | 1 lineChanged paths:A /bar.cAdded new file bar.c------------------------------------------------------------------------r28 | sally | 2003-01-07 21:48:33 -0600 (Tue, 07 Jan 2003) | 3 lines…svn log uses just a handful of action codes, and they are similar to the ones the svn updatecommand uses:ADMRThe item was added.The item was deleted.Properties or textual contents on the item were changed.The item was replaced by a different one at the same location.In addition to the action codes which precede the changed paths, svn log <strong>with</strong> the --verbose option will note whether a path was added or replaced as the result of a copyoperation. It does so by printing (from COPY-FROM-PATH:COPY-FROM-REV) after suchpaths.When you're concatenating the results of multiple calls to the log command, you may wantto use the --incremental option. svn log normally prints out a dashed line at the beginningof a log message, after each subsequent log message, and following the final logmessage. If you ran svn log on a range of two revisions, you would get this:$ svn log -r 14:15------------------------------------------------------------------------r14 | …------------------------------------------------------------------------r15 | …------------------------------------------------------------------------However, if you wanted to gather two nonsequential log messages into a file, you might dosomething like this:$ svn log -r 14 > mylog$ svn log -r 19 >> mylog$ svn log -r 27 >> mylog$ cat mylog------------------------------------------------------------------------r14 | …------------------------------------------------------------------------------------------------------------------------------------------------r19 | …263

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!