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 ReferenceNamesvnadmin verify — Verify the data stored in the repository.Synopsissvnadmin verify REPOS_PATHDescriptionOptionsRun this command if you wish to verify the integrity of your repository. This basically iteratesthrough all revisions in the repository by internally dumping all revisions and discardingthe output—it's a good idea to run this on a regular basis to guard against latent harddisk failures and “bitrot.” If this command fails—which it will do at the first sign of a problem—thatmeans your repository has at least one corrupted revision, and you should restorethe corrupted revision from a backup (you did make a backup, didn't you?).--quiet (-q)--revision (-r) ARGExamplesVerify a hung repository:svnlook$ svnadmin verify /var/svn/repos/* Verified revision 1729.svnlook is a command-line utility for examining different aspects of a <strong>Subversion</strong> repository.It does not make any changes to the repository—it's just used for “peeking.” svnlookis typically used by the repository hooks, but a repository administrator might find it usefulfor diagnostic purposes.Since svnlook works via direct repository access (and thus can be used only on the machinethat holds the repository), it refers to the repository <strong>with</strong> a path, not a URL.If no revision or transaction is specified, svnlook defaults to the youngest (most recent) revisionof the repository.svnlook OptionsOptions in svnlook are global, just as they are in svn and svnadmin; however, most optionsapply to only one subcommand since the functionality of svnlook is (intentionally)limited in scope:--copy-infoCauses svnlook changed to show detailed copy source information.--no-diff-deletedPrevents svnlook diff from printing differences for deleted files. The default behaviorwhen a file is deleted in a transaction/revision is to print the same differences that youwould see if you had left the file but removed all the content.315

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

Saved successfully!

Ooh no, something went wrong!