# PVCS to Perforce Converter Configuration File. # # Keywords in this file must start at the left column and end with a colon. # Values must be on the same line as the keyword or on subsequent lines # starting with a tab. # root of tree of archives to be converted root: \\server\vmarchives\archives # Projects underneath root. # More than one allowed if seperate by "|", e.g. # projects: proj1|proj2 projects: Defects|newmove # Environment settings p4port: ourserver.com:1666 p4user: fred p4client: pvcs # Depot to import into e.g. //ourdepot specified as # depot: ourdepot depot: depot # Depot root to use (defaults to main) # depot_root: import/proj with depot: ourdepot => //ourdepot/import/proj/... # Remember that this needs to correspond with the client mapping an example # of which is shown in clientspec.txt depot_root: import/pvcs # name to give directory in Perforce holding PVCS trunk revisions trunk_dir: main # whether to ignore branches in PVCS (treat all revisions as if they are # "on the trunk") - you may want to set this to "yes" if most branches # in PVCS are not labelled and/or you don't want to keep this information ignore_branches: yes # element of depot filename to put branch name. Must be either 0, 1 or 2 # If 0: pvcs_root/foo/bar rev 1.0 -> //depot/foo/bar # pvcs_root/foo/bar rev 1.0.1.0 labelled X -> //depot/foo/bar # pvcs_root/foo/bar rev 1.0.2.0 unlabelled -> //depot/foo/bar # If 1: pvcs_root/foo/bar rev 1.0 -> //depot/T/foo/bar # pvcs_root/foo/bar rev 1.0.1.0 labelled X -> //depot/X/foo/bar # pvcs_root/foo/bar rev 1.0.2.0 unlabelled -> //depot/Y/foo/bar # If 2: pvcs_root/foo/bar rev 1.0 -> //depot/foo/T/bar # pvcs_root/foo/bar rev 1.0.1.0 labelled X -> //depot/foo/X/bar # pvcs_root/foo/bar rev 1.0.2.0 unlabelled -> //depot/foo/Y/bar # where T is the value of "trunk_dir" (set above) # X is the PVCS floating label # and Y is the value of "branch_prefix" (set below) plus a unique integer # # Note that if "ignore_branches" is set to yes then the above table should # be changed to show T in place of X and Y (i.e. everything is on the trunk) # If "ignore_branches" is set to no then branch_level 0 is not allowed. # # The default is 1. # branch_level 2 may be useful if you have a number of projects which are # independently released. In this case you should not have any archive files # in your pvcs root directory; there should only be directories # branch_level 0 is in general not recommended since you should have some # directory component indicating branching branch_level: 0 # prefix of name to give to unlabeled branches # (not relevant if branch_level set to 0) branch_prefix: dead # time interval (in seconds) between two checkins which can be considered # part of the same change time_interval: 600 # - whether to convert all filenames to lowercase. The default is no. lowercase_filenames: no # - whether to convert all paths (excluding filename) to lowercase. Note # that branch names are not lowercased. The default is no. lowercase_pathnames: no # - whether to convert all branch names to lowercase. The default is no. lowercase_branchnames: no # - whether to convert all user names to lowercase. The default is no. lowercase_usernames: no # Whether to convert all extensions to lowercase lowercase_extensions: yes # - whether to list all files in the tree rooted at pvcs_root, regardless # of whether the filename ends in .??v (where ? is a one character wildcard). # You only want to set this to yes if you have archives with filenames # that do not end in .??v (although it doesn't hurt setting it to yes if your # archive directories are clean and only contain archives!). The default is no. list_all_files: no # - regular expression specifying labels which indicate a (branch of a) file # is to be deleted. The regex is case sensitive. Recall that regex's in Perl # (and grep and awk..) are different than filename wildcards. # If you're not sure about this or you don't have a consistent way of # marking branches as being deleted, just leave the line commented out. #delete_label_regex: DELETE.* # Prefix to prepend to labels - makes importing nicer and avoids name conflicts label_prefix: pvcs_ # - debugging level - set to zero to speed things up, > 0 to track down # problems debug_level: 1 # - regular expression specifying which files are archive files. # As above, remember that regex's in Perl are different than filename wildcards. # By default the converter grabs all files ending in ".??v", where ? can be any # character except ".", and "v" can be either upper or lower case. arc_file_regex: -arc$ # - filename "extensions" which signify various file types - these overrule # the default determination of file type based on the PVCS GenerateDelta # and ExpandKeywords attributes in the archive file. The file extensions # are taken to be case insensitive. # THESE ARE JUST SENSIBLE DEFAULT VALUES. It's up to you whether you want # (e.g.) C source files (.c) to have keyword expansion or not. If not, # they should be of type text, otherwise of type ktext. type_binary: exe obj doc xls bin dms lha lzh pdf zip gz tar jar ear wav au snd jpg gif png tif tiff dll lib pdb type_text: ps eps pm env properties mdl sql paramdesc jpr jpx type_ktext: c h cc cpp html xml css type_xtext: pl sh csh # Whether to do a verify or not perform_verify=no
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 5093 | Hari Krishna Dara |
Populating perforce branch. I will be adding p4admin files to it. |
||
//guest/perforce_software/utils/pvcstop4/non-pcli/config.ini | |||||
#1 | 4866 | Robert Cowham | Non-pcli version for those who need it. |