- <html><head><title>VCP::Dest::p4 - p4 destination driver</title></head><body><h1><a name="NAME">NAME
-
- </a></h1><p>VCP::Dest::p4 - p4 destination driver
-
- <p><hr><h1><a name="SYNOPSIS">SYNOPSIS
-
- </a></h1><pre> vcp <source> p4:user:password@p4port:[<dest>]
- vcp <source> p4:user(client):password@p4port:[<dest>]
- vcp <source> p4:[<dest>]
-
- </pre><p>The <dest> spec is a perforce repository spec and must begin with // and a
- depot name ("//depot"), not a local filesystem spec or a client spec. There
- should be a trailing "/..." specified.
-
- <p>If no user name, password, or port are given, the underlying p4 command will
- look at that standard environment variables. The password is passed using the
- environment variable P4PASSWD so it won't be logged in debugging or error
- messages, the other options are passed on the command line.
-
- <p>If no client name is given, a temporary client name like "vcp_tmp_1234" will be
- created and used. The P4CLIENT environment variable will not be used. If an
- existing client name is given, the named client spec will be saved off,
- altered, used, and restored. the client was created for this import, it will
- be deleted when complete, regardless of whether the client was specified by the
- user or was randomly generated. WARNING: If perl coredumps or is killed with a
- signal that prevents cleanup--like a SIGKILL (9)--the the client deletion or
- restoral will not occur. The client view is not saved on disk, either, so back
- it up manually if you care.
-
- <p>THE CLIENT SAVE/RESTORE FEATURE IS EXPERIMENTAL AND MAY CHANGE BASED ON USER
- FEEDBACK.
-
- <p>VCP::Dest::p4 attempts change set aggregation by sorting incoming revisions.
- See <a>VCP::Dest/rev_cmp_sub</a> for the order in which revisions are sorted. Once
- sorted, a change is submitted whenever the change number (if present) changes,
- the comment (if present) changes, or a new rev of a file with the same name as
- a revision that's pending. THIS IS EXPERIMENTAL, PLEASE DOUBLE CHECK
- EVERYTHING!
-
- <p><hr><h1><a name="DESCRIPTION">DESCRIPTION
-
- </a></h1><p><hr><h1><a name="METHODS">METHODS
-
- </a></h1><dl><dt><a name="new_"><strong><p>new
-
- </strong></a><dd>Creates a new instance of a VCP::Dest::p4. Contacts the p4d using the p4
- command and gets some initial information ('p4 info' and 'p4 labels').
-
- </dl><p><hr><h1><a name="AUTHOR">AUTHOR
-
- </a></h1><p>Barrie Slaymaker <barries@slaysys.com>
-
- <p><hr><h1><a name="COPYRIGHT">COPYRIGHT
-
- </a></h1><p>Copyright (c) 2000, 2001, 2002 Perforce Software, Inc.
- All rights reserved.
-
- <p>See <a href="../License.html">VCP::License</a> (<code>vcp help license</code>) for the terms of use.
-
- <p><hr><i><font size="-1">Last updated: Fri Nov 8 13:07:22 2002</font></i></body></html>