# $Id: //guest/perforce_software/utils/vsstop4/2006-06-special-chars/config.ini#2 $ # 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. # # Please note that you can specify the name of this file by setting a DOS Environment variable: # VSSTOP4_CONFIG # Default assumes config.ini # # Comments obviously start with # # VSS Root of tree of projects to be converted. # This now allows multiple roots to be specified, separated by '|' # Make sure you do not have spaces after '|' character. # root: $/Proj1|$/Proj2/some stuff|$/Proj3/other stuff root: $/ # Perforce environment to use (port/client/user) # Client defaults to "vss" - otherwise will pick up from environment p4port: localhost:1777 p4client: vss p4user: robert # Depot to import into e.g. //ourdepot specified as # depot: ourdepot depot: depot # Depot root path to use (defaults to main) # Don't advise using spaces in this path. # Recommended practice is to import into a seperate area of your repository such as: # //depot/import/vss/projectA/... # and then branch afterwards into your new structure for use in Perforce, e.g. # //depot/main/projectA/... # see note in README.txt # # depot_root: import/proj with depot: ourdepot => //ourdepot/import/proj/... depot_root: import/proj # Add ss user/password stuff vss_user: user vss_password: password # Add ss user stuff if required like password if not set in environment # Note that there are various options possible and they can be combined: # The various forms of -I which are only relevant in some circumstances (e.g. if script is failing). # -I- This avoids prompting for user input (where possible) # -I-N This answers No to any prompts for user input # -I-Y This answers Yes to any prompts for user input (e.g. $/Project is destroyed - do you want to continue?) # ss_options: -I- ss_options: -I-Y #********************************************************************** # From this point on you can probably leave the default values for the first run. #********************************************************************** # The following set VSS OLE Automation to be used (see README.html). # This is a potential performance speedup - experiment for your own use. # Default is commented out. #vss_use_ole: yes # Prefix to prepend to labels - makes importing nicer and avoids name conflicts # Note that VSS labels can have spaces whereas Perforce ones can't so automatic translations # are already performed. label_prefix: vss_ # Labels to ignore because not wanted (anything matching specified Perl regexp) # Note that regexp is NOT case sensitive (since label names in VSS aren't). # Just leave commented out if you don't want to use. Use () to make it obvious where spaces are. #label_ignore_regexp: (BUILD_.*|IGNORE_.*) # Whether VSS database is corrupt # If set to yes then an alternative method is used to extract VSS metadata and you need to be careful # to set "exclude" option to exclude the corrupt parts. # Set to no or comment out. # vsscorrupt: yes # 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 # Whether to skip 'ss get' failures due to corruptions in SS database # See "vsscorrupt" and "exclude" options # (only set this to "yes" if you really need to) skip_ss_get_errors: no # Start date time (format "yyyy/mm/dd hh:mm:ss") from which to start processing changelist # This allows conversion of just the latest changes from a particular point. # Be careful if using this option!!! # If using, then set to 1 second after the last successfully imported 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. Output will go to "logfile.log" in current dir - can get rather large. debug_level: 10 # Whether to bypass the re-creation of the metadata # files (in case debugging mkdepot.pl or later). bypass_metadata: no # Whether to pause asking for a key to start verify. Either do it or don't... perform_verify: no
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#2 | 5683 | Robert Cowham | Merge main stuff in. | ||
#1 | 5557 | Robert Cowham | Create new branch | ||
//guest/perforce_software/utils/vsstop4/main/config.ini | |||||
#11 | 5308 | Robert Cowham | Make name of config file settable via environment VSSTOP4_CONFIG | ||
#10 | 5211 | Robert Cowham | Clarified recommended structure to use. | ||
#9 | 4026 | Robert Cowham |
Make previous change configurable rather than hard-coding and add explanation to config.ini about it. Point Update section on web page to Changelog.txt |
||
#8 | 3610 | Robert Cowham | Clarified | ||
#7 | 3609 | Robert Cowham |
Integrate in changes for: - Use of DB_File for large hashes (if available) - Reworking of label algorithm - MUCH faster - Use of P4Perl (if available) - much faster - Use of VSS OLE Automation (if available) - sometimes faster See README.txt and Performance section for details. |
||
#6 | 3558 | Robert Cowham |
Fixed bug with French date formats. Autoupdate client root and view based on config.ini entries. |
||
#5 | 3556 | Robert Cowham |
Added extra check on time stamp formats. Tidied up readme - will only run on Windows now. Updated comments in config.ini |
||
#4 | 3553 | Robert Cowham |
Read date and time formats directly from Windows registry. Avoids problems with users forgetting to set or getting wrong. |
||
#3 | 2660 | Robert Cowham |
Allow labels to be ignored if not wanted using configurable regexp. Next change in this area is to make recreation of labels vastly quicker! |
||
#2 | 2168 | Robert Cowham | Tidied comments | ||
#1 | 2167 | Robert Cowham |
Renamed files to use Windows conventions as most likely platform for a VSS conversion. |
||
//guest/perforce_software/utils/vsstop4/main/config | |||||
#2 | 2165 | Robert Cowham | Merged in changes from Guest branch | ||
#1 | 2160 | Robert Cowham | Main version from .zip file from http://www.perforce.com/perforce/loadsupp.html#conv page |