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 ReferenceYou can see the log messages for all the paths that changed in your working copy by runningsvn log from the top:$ svn log------------------------------------------------------------------------r20 | harry | 2003-01-17 22:56:19 -0600 (Fri, 17 Jan 2003) | 1 lineTweak.------------------------------------------------------------------------r17 | sally | 2003-01-16 23:21:19 -0600 (Thu, 16 Jan 2003) | 2 lines…Examine all log messages for a particular file in your working copy:$ svn log foo.c------------------------------------------------------------------------r32 | sally | 2003-01-13 00:43:13 -0600 (Mon, 13 Jan 2003) | 1 lineAdded defines.------------------------------------------------------------------------r28 | sally | 2003-01-07 21:48:33 -0600 (Tue, 07 Jan 2003) | 3 lines…If you don't have a working copy handy, you can log a URL:$ svn log http://svn.red-bean.com/repos/test/foo.c------------------------------------------------------------------------r32 | sally | 2003-01-13 00:43:13 -0600 (Mon, 13 Jan 2003) | 1 lineAdded defines.------------------------------------------------------------------------r28 | sally | 2003-01-07 21:48:33 -0600 (Tue, 07 Jan 2003) | 3 lines…If you want several distinct paths underneath the same URL, you can use the URL[PATH...] syntax:$ svn log http://svn.red-bean.com/repos/test/ foo.c bar.c------------------------------------------------------------------------r32 | sally | 2003-01-13 00:43:13 -0600 (Mon, 13 Jan 2003) | 1 lineAdded defines.------------------------------------------------------------------------r31 | harry | 2003-01-10 12:25:08 -0600 (Fri, 10 Jan 2003) | 1 lineAdded new file bar.c------------------------------------------------------------------------r28 | sally | 2003-01-07 21:48:33 -0600 (Tue, 07 Jan 2003) | 3 lines…The --verbose option causes svn log to include information about the paths that werechanged in each displayed revision. These paths appear, one path per line of output, <strong>with</strong>action codes that indicate what type of change was made to the path.$ svn log -v http://svn.red-bean.com/repos/test/ foo.c bar.c------------------------------------------------------------------------r32 | sally | 2003-01-13 00:43:13 -0600 (Mon, 13 Jan 2003) | 1 lineChanged paths:M /foo.c262

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

Saved successfully!

Ooh no, something went wrong!