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 ReferenceNamesvnlook youngest — Print the youngest revision number.Synopsissvnlook youngest REPOS_PATHDescriptionPrint the youngest revision number of a repository.OptionsNoneExamplesThis shows the youngest revision of our sample repository:svnsync$ svnlook youngest /var/svn/repos/42svnsync is the <strong>Subversion</strong> remote repository mirroring tool. Put simply, it allows you to replaythe revisions of one repository into another one.In any mirroring scenario, there are two repositories: the source repository, and the mirror(or “sink”) repository. The source repository is the repository from which svnsync pulls revisions.The mirror repository is the destination for the revisions pulled from the source repository.Each of the repositories may be local or remote—they are only ever addressed bytheir URLs.The svnsync process requires only read access to the source repository; it never attemptsto modify it. But obviously, svnsync requires both read and write access to the mirror repository.svnsync Optionssvnsync is very sensitive to changes made in the mirror repository that weren'tmade as part of a mirroring operation. To prevent this from happening, it'sbest if the svnsync process is the only process permitted to modify the mirrorrepository.Options in svnsync are global, just as they are in svn and svnadmin:--config-dir DIRInstructs <strong>Subversion</strong> to read configuration information from the specified directory insteadof the default location (.subversion in the user's home directory).--no-auth-cachePrevents caching of authentication information (e.g., username and password) in the<strong>Subversion</strong> runtime configuration directories.333

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

Saved successfully!

Ooh no, something went wrong!