11.07.2015 Views

Version Control with Subversion - Login

Version Control with Subversion - Login

Version Control with Subversion - Login

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Subversion</strong> Complete ReferenceNamesvn cat — Output the contents of the specified files or URLs.Synopsissvn cat TARGET[@REV]...DescriptionOutput the contents of the specified files or URLs. For listing the contents of directories,see svn list later in this chapter.Alternate namesChangesNoneNothingAccesses repositoryOptionsYes--revision (-r) REVExamplesIf you want to view readme.txt in your repository <strong>with</strong>out checking it out:$ svn cat http://svn.red-bean.com/repos/test/readme.txtThis is a README file.You should read this.If your working copy is out of date (or you have local modifications) and youwant to see the HEAD revision of a file in your working copy, svn cat -r HEADFILENAME will automatically fetch the HEAD revision of the specified path:$ cat foo.cThis file is in my local working copyand has changes that I've made.$ svn cat -r HEAD foo.cLatest revision fresh from the repository!232

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

Saved successfully!

Ooh no, something went wrong!