# 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 '|' but mustn't contain spaces # root: $/Proj1|$/Proj2|$/Proj3 root: $/Proj1 # 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: yes # 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 # 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 | |
---|---|---|---|---|---|
#2 | 1513 | Peter Steiner |
- writing to the logfile in verify.pl didn't work - convert.pm: get_vss_file failed sometimes (when there was a file in the working directory with the same name as one in the VSS archive) - the timestamp of a label is now set from the VSS label timestamp - files can be added using perforce typemaps for determining the file type (though this is disabled because it is likely to break verify.pl when the revisions are compared using different keyword expansion methods...). See convert::typemap_regexp - new option lowercase_extensions (similar to lowercase_filenames) - option convert::perform_verify (no more need to press a key during nightly conversion tests) - label name transformations to cope better with special character restrictions. You probably want to adjust for your own purposes; see readhist.pl line 169ff. - output of convert.pl adorned with timestamps - changes for Swiss time format are prepared (in the comments of readhist.pl), though this probably should be done with specifying a regexp in the config file - various fixes when using german umlauts, especially in Windows login names propagated to VSS, in labels and comments |
||
#1 | 1510 | Peter Steiner | integrated from Roberts vsstop4 branch | ||
//guest/robert_cowham/perforce/utils/vsstop4/config | |||||
#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. |