Output and Logs

Console output and logging configuration options

The default SLF4J logging options can be overwritten with another configuration file; specify the log4j.configuration option with a local file, using the syntax:

file:your_local_file

java -Dlog4j.configuration=file:debug.log4j.properties -jar p4convert.jar

Please use or refer to the sample debug.log4j.properties for logging options.

These options are reserved for testing or future enhancements:

com.p4convert.core.test
com.p4convert.core.version
com.p4convert.svn.emptyDirEnabled
com.p4convert.svn.emptyDirName

Reading Console/Logging output

Importing Subversion ranges:

start: 1 
end:   23091
last:  23091
		
1.0 A:D - trunk
1.1 A:D - trunk/src
1.2 A:F - trunk/src/foo.c (UTF-8)
mapping: r1 => @1
		
2.0 A:F - trunk/src/bar.png (BINARY)
mapping: r2 => @2
...

Explanation of output lines, for example:

1.2 A:F - trunk/src/foo.c (UTF-8)

The numbering 1.2 refers to the current Subversion revision and the node action. (1 Subversion revision 1 and .2 = the third node action as .0 would be the first index)

The letters A:F refers to the Subversion action and if it is a file or directory operation.

  • A Add

  • B Branch

  • E Edit

  • I Integrate (merge fromNode)

  • M Merge (svn:mergeinfo)

  • C Copy (svn replace action with fromNode)

  • U Update (svn replace action)

  • R Remove (delete)

  • F File

  • D Directory

The subversion path trunk/src/foo.c is followed by the detected type.

Detected Type

Perforce Base Type

UTF-8

Unicode

UTF-16BE

utf16

UTF-16LE

utf16

UTF-32BE

Unicode

UTF-32LE

Unicode

Shift_JIS

Unicode

ISO-2022-JP

downgraded to binary

ISO-2022-CN

downgraded to binary

ISO-2022-KR

downgraded to binary

GB18030

Unicode

EUC-JP

Unicode

EUC-KR

Unicode

Big5

Unicode

ISO-8859-1

Unicode

ISO-8859-2

Unicode

ISO-8859-5

Unicode

ISO-8859-6

downgraded to binary

ISO-8859-7

Unicode

ISO-8859-8

Unicode

windows-1251

Unicode

windows-1254

Unicode

windows-1256

downgraded to binary

KOI8-R

Unicode

ISO-8859-9

Unicode

IBM424_rtl

downgraded to binary

IBM424_ltr

downgraded to binary

IBM420_rtl

downgraded to binary

IBM420_ltr

downgraded to binary

BINARY

binary

Note

The detected type is based on language detection using ICU4J and not Subversion MIME or Perforce detection.

Finally mapping: r223 => @223' refers to the Subversion revision number (r223) to the Perforce changelist number (@223). Typically 1:1 unless offset or merged against an live or pre-existing Perforce Server.