Warning
The product is in closed beta and not open to the public.
p4¶
vb p4 export|verify //DEPOT [OPTIONS]
Description¶
Export history to Perforce, or verify a previous export. A new export requires an empty stream depot, created if missing. Uses the current checkout’s repository unless -R is given.
Preserves descriptions, authors, timestamps, source UUIDs and parent relationships. Files are placed at stream roots using binary, binary+x (executable), or symlink types.
Requires the p4 client and uses its connection and authentication settings. Export requires P4 admin or super access to set authors and timestamps.
Use –resume on the first export to enable recovery, then repeat the same command after interruption. Recovery state is removed on completion. Completed exports cannot be extended incrementally.
Options¶
- -R REPOSITORY¶
Use the specified source repository
- --p4-exe EXE¶
P4 client executable (default: p4)
- --resume¶
Enable recovery after interruption (export only)
- --user-map FILE¶
UTF-8 SOURCE=TARGET username mappings, one per line
- --dry-run¶
Show the plan and check without writing P4 data
- --work-dir DIR¶
Stream workspaces (default: REPOSITORY.p4-work)
Subcommands¶
vb p4 export¶
vb p4 export //DEPOT [OPTIONS]
Description¶
Export all branches and their complete history, verifying each file tree.
vb p4 verify¶
vb p4 verify //DEPOT [OPTIONS]
Description¶
Check exported history against the source repository without submitting.