next up previous
Next: Getting More Information Up: Normal Usage Previous: Other Useful Commands

Getting Information

SVN provides several commands that allow you to get information about the files in the repository:

svn status:
Indicates which files you've changed locally since your last commit.
svn diff:
Shows what changes you've made to files since your last commit.
svn log:
Displays the log message for the named file(s), defaulting to the current directory, from your last update on back.

When you move or copy a file, using the commands above, SVN keeps track of its original history. So, by default, if you svn copy a file and then svn log the new file, you'll see the file's revision history all the way back to the point at which it was first added to the repository. (SVN will follow an arbitrary number of copies back.)



Richard Cobbe 2007-01-16