What’s new in the Helix Core P4 Command Reference
This section provides a summary with links to topics in this reference. For a complete list of what's new in this release, see the Release Notes.
2019.1 release
- Private editing of streams in the p4 stream topic
- Additional enhancements to streams:
- Option to make switching between streams faster with p4 switch
- The following commands now handle open stream specs: p4 revert, p4 resolve, p4 submit
- p4 unshelve now defaults to unshelving both files and the stream spec. Previously, the default was to unshelve only files.
- p4 streamlogdisplays the history of changes to the specified list of streams.
- Background archive transfer for edge server submits: the user submitting a change with p4 submit -b will see the submit complete as soon as the metadata commit is completed, and will not have to wait for the archives to transfer. To enable this feature, set submit.allowbgtransfer and, optionally, submit.autobgtransfer.
- p4 pull has the new option for -t target for recovery of failed archive transfers.
- p4 server - For all server types, the DistributedConfig: field of that server spec shows a line for each configurable that is set to a non-default value. In this field, you can edit the value, add a new line to set a different configurable to a non-default value, or delete a line to reset that configurable to its default value.
-
The Helix Core server extensions are a fully-supported alternative to triggers. See
- Support for locking Git LFS (Large File Storage) files in depots of type graph by using the new commands: p4 graph lfs-lock (graph), p4 graph lfs-locks (graph), and p4 graph lfs-unlock (graph) such that the locks created in Helix Core server with p4 graph lfs-lock are visible to Git clients, and the locks created in Git with git lfs lock are visible to Helix Core server.
- By default, the server.maxcommands.allow configurable enables the super and operator users to issue certain administrative commands even if the server.maxcommands is blocking standard users.
- Failover: see the Description section on the p4 failover topic about the High Availability standby server.
- p4 archive has the new -z option, which can reduce disk space usage.
- The net.autotune configurable is enabled (1) by default. This enables the TCP stack to manage the size of the network send and receive buffers, allowing more efficient use of the network, especially over slow, high-latency connections. This behavior can be disabled in clients, proxies, brokers and the server by setting the configurable to 0. On Windows-based platforms, send buffer sizes are not autotuned but are manually configurable with net.tcpsize.
- p4 reconcile has a new option, -t, to consider the file type
- p4 integrated has two new options to make it easier to show where a change has been integrated to: -s and --into-only
-
The definition of the P4LANGUAGE variable was updated in 2019.1 and it should be set to the language tag and optional region for the user. For example, if $LANG is en-US.UTF-8, set P4LANGUAGE=en-US. Servers with existing message translations will need their message database to be re-seeded with an updated message file.
-
Support for utilizing multiple processor groups on Windows depends on the new configurable, sys.threading.groups.
- Setting the new push.unlocklocked configurable to 1 automatically unlocks files that were locked as part of a failed push.
2018.2 release
- Failover from the current master to a standby server has improved.
- See p4 failover, p4 journalcopy, and p4 server
- Commands with additional functionality:
- New configurables related to single sign-on:
2018.1 Patch release
Multi-factor authentication (MFA) |
For help on multi-factor authentication:
This feature is currently supported for most Helix Core server clients, including:
|
Graph depot commands |
Commands to read or write against Git repos stored in the Helix server within a Graph Depot are no longer in Tech Preview. See Graph depot commands. |
Configurables | To see whether changing the value of a given configurable requires stopping the server, in that configurable's details look for "After you change the value of this configurable, you must explicitly "stop" the server." For an example, see ssl.tls.version.min. |
2018.1 release
Area | Feature |
graph depot |
|
Configurables - alphabetical list |
|
For fail-over scenarios, the p4 admin end-journal command can be useful. See that command's Examples |
|
p4 keys | p4 keys -e nameFilter supports a period in key names |
p4 stream |
Stream path definitions can include a wildcard in the final
expression of a path, following the last slash. You can use this feature to refer to a collection of files, such as |
Second factor authentication |
For details and examples,
see the Please note that not all client applications have added support for second factor authentication yet. |
LDAP | You can track the activity of p4 ldapsync. See ldapsync.csv at p4 logparse. |
2017.2 release
New specification fields
p4 pull accepts the --batch
, --min-size
, --max-size
, and --trigger
options, as well as -R
for retry, and -l
or -ls
to list submits in an Edge server to be replicated to the Commit server
p4 shelve accepts the --parallel
option
New commands
p4 bgtask to run background commands
p4 login2 for second factor authentication
New configurables
lbr.replica.notransfer | net.parallel.sync.svrthreads |
net.parallel.shelve.batch | pull.trigger.dir |
net.parallel.shelve.min | rpl.submit.nocopy |
Updated configurable
filesys.checklinks allows directory symlinks to be added or reconciled by using the value 3
Your search for returned result(s).