• Name

    svn propget – Print the value of a property.

    Synopsis

    svn propget PROPNAME [TARGET[@REV]…]
    svn propget PROPNAME --revprop -r REV [URL]

    Description

    Print the value of a property on files, directories, or revisions. The first form prints the versioned property of an item or items in your working copy, while the second prints unversioned remote property on a repository revision. See the section called “Properties” for more information on properties.

    Alternate Names

    pget, pg

    Changes

    Working copy, repository only if operating on a URL

    Accesses Repository

    Only if operating on a URL

    Options

    --recursive (-R)
    --revision (-r) REV
    --revprop
    --strict
    --username USER
    --password PASS
    --no-auth-cache
    --non-interactive
    --config-dir DIR
    

    Examples

    Examine a property of a file in your working copy:

    $ svn propget svn:keywords foo.c
    Author
    Date
    Rev
    

    The same goes for a revision property:

    $ svn propget svn:log --revprop -r 20 
    Began journal.
    

    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.