[loggers] keys=root,svn2p4 [handlers] keys=consoleHandler [formatters] keys=svn2p4Formatter [logger_root] level=DEBUG handlers=consoleHandler [logger_svn2p4] level=DEBUG handlers=consoleHandler qualname=svn2p4 propagate=0 [handler_consoleHandler] class=StreamHandler level=DEBUG formatter=svn2p4Formatter args=(sys.stdout,) [formatter_svn2p4Formatter] format=%(asctime)s - %(name)s - %(levelname)s - %(message)s datefmt=
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 7613 | Allan Anderson | Rename/move file(s) | ||
//guest/allan_anderson/svn2p4/svn2pylogging.conf | |||||
#1 | 7558 | Allan Anderson |
This is my quick and dirty script to import Svn revisions -> P4 changelists. It doesn't handle branches or tags; it is intended to simply pick up a project and place it somewhere in a Perforce depot. In our case, we have used it to preserve changes history when moving another group to the main company repository. It's not the complete respository migration tool that the Perl-based svn2p4 is, but it may be useful to some people. It owes some ideas to the Perl script, including the extremely useful trick of saving the last successfully imported revision number in a file to allow interrupted imports to resume. |