svn proplist (plist, pl)
Name
svn proplist (plist, pl) — List all properties.
Synopsis
svn proplist [TARGET[@REV]...]
svn proplist --revprop -r REV [TARGET]
Description
List all properties on files, directories, or
revisions. The first form lists versioned properties in
your working copy, and the second lists unversioned remote
properties on a repository revision
(TARGET
determines only which
repository to access).
Examples
You can use proplist to see the properties on an item in your working copy:
$ svn proplist foo.c Properties on 'foo.c': svn:mime-type svn:keywords owner
But with the --verbose
(-v
) flag, svn
proplist is extremely handy as it also shows you
the values for the properties:
$ svn proplist -v foo.c Properties on 'foo.c': svn:mime-type text/plain svn:keywords Author Date Rev owner sally
List all the versioned properties inherited by a file in
your working copy using the --show-inherited-props
option:
$ svn proplist --show-inherited-props foo.c Inherited properties on 'foo.c', from 'http://svn.example.com/repos': svn:auto-props svn:global-ignores Inherited properties on 'foo.c', from '/home/theob/svn/working-copies/baz-wc': svn:auto-props
Lastly, you can get svn proplist
output in XML format with the --xml
option:
$ svn proplist --xml <?xml version="1.0"?> <properties> <target path="."> <property name="svn:ignore"/> </target> </properties>