Perforce

Perforce is a popular centralized commercial revision control system that's used in many corporate environments. It can only be used as a SourceRepository at this time using the prefix p4:

Usage

Below is an example config used during testing:

[jam]
root-directory = /tmp/jamstate/
source = p4:jam
target = hg:jam
state-file = jam.state

[p4:jam]
# Perforce "port" (in this case, the public server perforce maintains)
p4-port=public.perforce.com:1666
# The name of your client
p4-client=myhostname-tailortest
# The path within the depot to track (used both to find changes as well as map files)
depot-path = //public/jam/src/
# Place where the files will show up after a sync
root-directory=/tmp/pubtest/jam/

[hg:jam]
# Note:  Using the same root-directory as above.
root-directory=/tmp/pubtest/jam/

The perforce client used above contains the following root and view:

[...]

Root:   /tmp/pubtest/

View:
        //public/jam/src/... //myhostname-tailortest/jam/...

[...]