P4 Command Reference - 2015 - Perforce P4 Command Reference xxi About This Manual This manual documents

  • View
    36

  • Download
    0

Embed Size (px)

Text of P4 Command Reference - 2015 - Perforce P4 Command Reference xxi About This Manual This manual...

  • P4 Command Reference

    2015.2 October 2015

  • P4 Command Reference 2015.2

    October 2015

    Copyright © 1999-2015 Perforce Software.

    All rights reserved.

    Perforce software and documentation is available from http://www.perforce.com/. You can download and use Perforce programs, but you can not sell or redistribute them. You can download, print, copy, edit, and redistribute the documentation, but you can not sell it, or sell any documentation derived from it. You can not modify or attempt to reverse engineer the programs.

    This product is subject to U.S. export control laws and regulations including, but not limited to, the U.S. Export Administration Regulations, the International Traffic in Arms Regulation requirements, and all applicable end-use, end-user and destination restrictions. Licensee shall not permit, directly or indirectly, use of any Perforce technology in or by any U.S. embargoed country or otherwise in violation of any U.S. export control laws and regulations.

    Perforce programs and documents are available from our Web site as is. No warranty or support is provided. Warranties and support, along with higher capacity servers, are sold by Perforce Software.

    Perforce Software assumes no responsibility or liability for any errors or inaccuracies that might appear in this book. By downloading and using our programs and documents you agree to these terms.

    Perforce and Inter-File Branching are trademarks of Perforce Software.

    All other brands or product names are trademarks or registered trademarks of their respective companies or organizations.

    Any additional software included within Perforce software is listed in License Statements on page 583.

  • P4 Command Reference iii

    Table of Contents

    About This Manual ............................................................................................................. xxi

    What's new in this guide for the 2015.2 release .................................................................. xxii New commands ....................................................................................................... xxii New command options and other command changes ................................................. xxii New specification fields ............................................................................................ xxv New configurables ................................................................................................... xxvi Changed configurables and environment variables .................................................... xxvi

    Helix documentation ...................................................................................................... xxvii Syntax conventions ........................................................................................................ xxviii Please give us feedback ................................................................................................. xxviii

    Introduction .......................................................................................................................... 1

    Getting help ......................................................................................................................... 1 Creating scripts .................................................................................................................... 1

    p4 add ................................................................................................................................... 3

    p4 admin ............................................................................................................................... 7

    p4 annotate ......................................................................................................................... 11

    p4 archive ........................................................................................................................... 15

    p4 attribute ......................................................................................................................... 17

    p4 branch ............................................................................................................................ 19

    p4 branches ......................................................................................................................... 23

  • P4 Command Reference

    iv P4 Command Reference

    p4 cachepurge ..................................................................................................................... 25

    p4 change ........................................................................................................................... 27

    p4 changelist ....................................................................................................................... 33

    p4 changelists ..................................................................................................................... 35

    p4 changes .......................................................................................................................... 37

    p4 clean .............................................................................................................................. 41

    p4 client .............................................................................................................................. 43

    p4 clients ............................................................................................................................. 55

    p4 clone .............................................................................................................................. 57

    p4 configure ........................................................................................................................ 59

    p4 copy ............................................................................................................................... 63

    p4 counter ........................................................................................................................... 67

  • P4 Command Reference

    P4 Command Reference v

    p4 counters ......................................................................................................................... 71

    p4 cstat ............................................................................................................................... 73

    p4 dbschema ....................................................................................................................... 75

    p4 dbstat ............................................................................................................................. 77

    p4 dbverify .......................................................................................................................... 79

    p4 delete ............................................................................................................................. 81

    p4 depot .............................................................................................................................. 85

    p4 depots ............................................................................................................................ 93

    p4 describe .......................................................................................................................... 95

    p4 diff ................................................................................................................................. 97

    p4 diff2 .............................................................................................................................. 101

    p4 dirs ............................................................................................................................... 105

  • P4 Command Reference

    vi P4 Command Reference

    p4 diskspace ...................................................................................................................... 107

    p4 edit ............................................................................................................................... 109

    p4 export ........................................................................................................................... 113

    p4 fetch ............................................................................................................................. 117

    p4 filelog ........................................................................................................................... 121

    p4 files .............................................................................................................................. 125

    p4 fix ................................................................................................................................. 129

    p4 fixes .............................................................................................................................. 133

    p4 flush ............................................................................................................................. 135

    p4 fstat .............................................................................................................................. 139

    p4 grep .............................................................................................................................. 147

    p4 group ...............