Previous Table of Contents Index Next
Perforce 2012.1: Command Reference



p4 attribute
Synopsis
Set per-revision attributes on revisions
Syntax
p4 [g-opts] attribute [ -e -f -p ] -n name [ -v value ] files...
p4 [g-opts] attribute [ -e -f -p ] -i -n name file
Description
The p4 attribute command sets per-revision attributes on file revisions.
To display attributes, use p4 fstat -Oa.
Options
Set the attribute on submitted files. If a propagating trait is set on a submitted file, a revision specifier cannot be used, and the file must not be currently open in any workspace.
Create a propagating attribute: an attribute whose value is propagated to subsequent revisions whenever the file is opened with p4 add, p4 edit, or p4 delete.
Read an attribute value from the standard input. Only one file argument is allowed when using this option.
-n name
-v value
Usage Notes
Can File Arguments Use
Revision Specifier?
write,
or admin to use the -f flag
Multiple attributes can be set or cleared by specifying multiple -n name flags and an equal number of corresponding -v value flags (to set) or no -v flags ( to clear).
 


Previous Table of Contents Index Next

Perforce 2012.1: Command Reference
Copyright 1999-2012 Perforce Software.