# VSS 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. # # Some new additions to make it easier to import into existing depot. # root of tree of projects to be converted. # RHGC - note that this now allows multiple roots to be specified, # separated by '|' # root: $/Proj1|$/Proj2/some stuff|$/Proj3/other stuff root: $/ # Files or folders to be excluded (comment out if not used) # Multiple files or folders can be excluded if seperated by '|'. # Notes: # - pattern matching is used at the start of the string, so "$/Proj1/folder1/" will match # anything from that folder downwards. # - "$/Proj1/folder" will match "$/Proj1/folder1" and "$/Proj1/folder2" etc (so be careful!!) # - special reg exp characters are turned off in the match string (quotemeta is used) so don't use * # etc and expect it to work. # exclude: $/Proj1/Some folder/|$/Proj2/some other folder/file # Perforce environment to use (port/client/user) # Client defaults to "vss" - otherwise will pick up from environment p4port: localhost:1777 p4client: vss p4user: robert # Default Date format used to extract stuff from SourceSafe # Tested options are US and European (d = day, m = month, y = year) # format_date: m/d/y # format_date: d/m/y format_date: d/m/y # Default Time format used to extract stuff from SourceSafe # Tested options are US and European (H = hour, M = minute, p = AM/PM indicator) # European (24 hour time) format_time: H:M # US (AM/PM indicator) format_time: H:Mp format_time: H:M # start date time (format "yyyy/mm/dd hh:mm:ss") from which to start processing changelist # set to 0 or don't set to process all changelists # start_time: 2002/04/10 11:42:00 # Files that are handled with p4 typemap # typemap disabled because it breaks verify... #typemap_regexp: (makefile|\.(pdf|a|o|obj|lib|dll|exe|abc|flo|h|hpp|c|cpp|nc|s|ld|lnt|mak|txt|dxy|dox|html?|bat|pl|dbg|cfg|ico|def|rc))$ # time interval (in seconds) between two checkins which can be considered # part of the same change time_interval: 600 # - whether to convert all pathnames to lowercase lowercase_pathnames: no # - whether to convert all filenames to lowercase lowercase_filenames: no # - whether to convert all extensions to lowercase lowercase_extensions: yes # - whether to convert all user names to lowercase lowercase_usernames: yes # - debugging level - set to zero to speed things up, > 0 to track down # problems debug_level: 10 # 980504 SAB - Added to be able to bypass the re-creation of the metadata/ # files (in case debugging mkdepot.pl or later). bypass_metadata: no # 2002-02-07/ps: don't pause asking for a key to start verify. Either do it or don't... perform_verify: no # 980504 SAB - We've got some corruptions in our SS database...add ability # to skip 'ss get' failures. # (only set this to "yes" if you really need to) skip_ss_get_errors: no # Add ss user stuff if required # ss_options: -Yuser,password ss_options: -Ytjm,tjm # RHGC - depot to use e.g. //ourdepot specified as # depot: ourdepot depot: depot # RHGC - Prefix to prepend to labels - makes importing nicer. label_prefix: vss_ # RHGC - 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 config. depot_root: import/proj
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#7 | 3589 | Robert Cowham | Merge in changes from Main branch. | ||
#6 | 2134 | Robert Cowham | Tidied docs | ||
#5 | 2133 | Robert Cowham |
Added more careful VSS tree parsing to avoid corrupt parts of a database. New option "vsscorrupt" which triggers this. |
||
#4 | 2125 | Robert Cowham |
Several improvements: - config option for date and time format (tested with US and UK) see comments in config for details. - improved error handling when running subsidiary scripts - extra config option allowing parts of a VSS repository to be excluded (e.g. if corrupt) - allow p4port/client/user to be specified in config file |
||
#3 | 1695 | Robert Cowham | Integrated Peter's changes in - note not fully tested... | ||
#2 | 1691 | Robert Cowham |
Latest changes, e.g. - allow restarts (from date and time) - add client name to config options |
||
#1 | 237 | Robert Cowham |
Improved version of vsstop4. Makes life easier if importing into a depot which already contains stuff you want to keep. Also handles other people updating the depot at the same time. See changes labelled RHGC, and new items in config file. |