Name

svk propget — Print the value of a property.

Synopsis

svk propget PROPNAME [TARGET[@REV]...]
svk propget PROPNAME --revprop --revision REV[@] [DEPOTPATH]

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 depot revision. See the section called “” for more information on properties.

Alternate Names

pg, pget

Changes

Nothing

Accesses Depot

Yes

Accesses Mirrored Repository

No

Switches

--recursive (-R)
--revision (-r) REV[@]
--revprop
--strict

The --strict switch will prevent extra newlines from being printed at the end of the property values; when there are multiple paths involved, it causes svk to not prefix the path name before each value.

Examples

Examine a property of a file in your working copy:

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

The same goes for a revision property:

$ svk propget svn:log --revprop --revision 20 
Began journal.