Changes between Initial Version and Version 1 of P4Repository


Ignore:
Timestamp:
03/22/07 04:58:53 (6 years ago)
Author:
dustin
Comment:

First pass at an overview of using p4

Legend:

Unmodified
Added
Removed
Modified
  • P4Repository

    v1 v1  
     1= Perforce = 
     2 
     3[http://www.perforce.com/ 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:''' 
     4 
     5== Usage == 
     6 
     7Below is an example config used during testing: 
     8 
     9{{{ 
     10[jam] 
     11root-directory = /tmp/jamstate/ 
     12source = p4:jam 
     13target = hg:jam 
     14state-file = jam.state 
     15 
     16[p4:jam] 
     17# Perforce "port" (in this case, the public server perforce maintains) 
     18p4-port=public.perforce.com:1666 
     19# The name of your client 
     20p4-client=myhostname-tailortest 
     21# The path within the depot to track (used both to find changes as well as map files) 
     22depot-path = //public/jam/src/ 
     23# Place where the files will show up after a sync 
     24root-directory=/tmp/pubtest/jam/ 
     25 
     26[hg:jam] 
     27# Note:  Using the same root-directory as above. 
     28root-directory=/tmp/pubtest/jam/ 
     29}}} 
     30 
     31The perforce client used above contains the following root and view: 
     32 
     33{{{ 
     34[...] 
     35 
     36Root:   /tmp/pubtest/ 
     37 
     38View: 
     39        //public/jam/src/... //myhostname-tailortest/jam/... 
     40 
     41[...] 
     42}}}