• Name

    svnlook cat – Print the contents of a file.

    Synopsis

    svnlook cat REPOS_PATH PATH_IN_REPOS

    Description

    Print the contents of a file.

    Options

    --revision (-r) REV
    --transaction (-t)
    

    Examples

    This shows the contents of a file in transaction ax8, located at /trunk/README:

    $ svnlook cat -t ax8 /usr/local/svn/repos /trunk/README
    
                   Subversion, a version control system.
                   =====================================
    
    $LastChangedDate: 2003-07-17 10:45:25 -0500 (Thu, 17 Jul 2003) $
    
    Contents:
    
         I. A FEW POINTERS
        II. DOCUMENTATION
       III. PARTICIPATING IN THE SUBVERSION COMMUNITY
    …
    

    The Version Control with Subversion book is licensed under the Creative Commons Attribution License v2.0.
    To submit comments, corrections, or other contributions to the text, please visit http://www.svnbook.com.