Labels are not getting created in Perforce.
I created a small sample Subversion repository with only one file under trunk. I then branched that file to a folder in the tags directory. I created the exclude.map with ^tags/.* and set the config variables accordingly. The conversion run indicates:
... exclude.map: ^tags/.*
... Searching for labels...
... Branch map count:
... A:1 test_svp2p4labeltest
which seems to indicate it sees the tag. The tags directory itself is not imported (as expected) but then no label is created in Perforce.
Please can you add the sample repo to the comments for this job (just drag n drop). I'm out on vacation next week, so will look at it in detail when I return.
From the log file: ... jar build version: PUBLIC.Main.12535
I have tried dragging and dropping the sample repo where it says to but it never get attached. My guess is that Swarm is not compatible with Invincea which is what we are required to use for Internet access. It would help if there were a browse button to allow the attachment of files using that interface if necessary.
The sample repo was very simple. Using TortoiseSVN I created a new empty repo and selected the option to create the standard directories. Then I added a single empty file in the trunk named "New Test Document.txt." Finally I branched the trunk to tags/svp2p4labeltest.
I set those options to the defaults with no change. There is no include.map defined and I don't see any reference to path.map in the instructions. It's looking to me like this tool is probably not safe for production use. I will keep an eye on it as it matures and will switch to svn2p4 since it is more stable and reliable, although slower.
Please can you add the sample repo to the comments for this job (just drag n drop). I'm out on vacation next week, so will look at it in detail when I return.
Please include the converter's version (java -jar p4convert.jar --version) in the job details. The latest releases are located here:
https://swarm.workshop.perforce.com/projects/perforce-software-p4convert/files/main/release/p4convert.tgz
From the log file: ... jar build version: PUBLIC.Main.12535
I have tried dragging and dropping the sample repo where it says to but it never get attached. My guess is that Swarm is not compatible with Invincea which is what we are required to use for Internet access. It would help if there were a browse button to allow the attachment of files using that interface if necessary.
The sample repo was very simple. Using TortoiseSVN I created a new empty repo and selected the option to create the standard directories. Then I added a single empty file in the trunk named "New Test Document.txt." Finally I branched the trunk to tags/svp2p4labeltest.
Please can you send me your configuration, paste it in if necessary.
P4Convert configuration (Wed Apr 29 14:33:27 EDT 2015)
Please note that all paths should be absolute and must end with a path
delimiter e.g. '/' or '\'. For example:
com.p4convert.p4.clientRoot=C:\perforce\client_ws\
com.p4convert.p4.clientRoot=/Users/perforce/client_ws/
Core converter settings
com.p4convert.core.schema=5.58
com.p4convert.core.scmType=SVN
com.p4convert.core.test=false
com.p4convert.core.version=PUBLIC.Main.12535
Subversion import options
com.p4convert.svn.dumpFile=svn.dmp
com.p4convert.svn.emptyDirEnabled=false
com.p4convert.svn.emptyDirName=.svn.empty
com.p4convert.svn.end=0
com.p4convert.svn.keepKeyword=true
com.p4convert.svn.labelDepth=2
com.p4convert.svn.labelFormat=test_{depth}
com.p4convert.svn.labels=true
com.p4convert.svn.mergeInfoEnabled=true
com.p4convert.svn.propEnabled=true
com.p4convert.svn.propEncoding=ini
com.p4convert.svn.propName=.svn.properties
com.p4convert.svn.propTextType=UNKNOWN
com.p4convert.svn.start=1
Perforce Environment
com.p4convert.p4.caseMode=NONE
com.p4convert.p4.charset=<none>
com.p4convert.p4.client=svn2p4_win
com.p4convert.p4.clientRoot=c:/Users/jsmith/Subversion/LabelTestP4/
com.p4convert.p4.depotPath=svn2p4ip
com.p4convert.p4.downgrade=false
com.p4convert.p4.jnlIndex=0
com.p4convert.p4.jnlPrefix=jnl.
com.p4convert.p4.lineEnding=true
com.p4convert.p4.logRevID=<description>
com.p4convert.p4.lowerCase=false
com.p4convert.p4.mode=IMPORT
com.p4convert.p4.normalisation=NFC
com.p4convert.p4.offset=0
com.p4convert.p4.passwd=
com.p4convert.p4.port=CinSV-Helicon:1666
com.p4convert.p4.root=
com.p4convert.p4.skipEmpty=false
com.p4convert.p4.subPath=/test
com.p4convert.p4.translate=true
com.p4convert.p4.unicode=false
com.p4convert.p4.user=p4admin
Logging options
com.p4convert.log.audit.enabled=true
com.p4convert.log.audit.filename=audit.log
com.p4convert.log.changeMap=changeMap.txt
Do you have a 'path.map' defined? or 'include.map'?
I noticed you have a few extra options turned on:
com.p4convert.svn.mergeInfoEnabled=true
com.p4convert.svn.propEnabled=true
Perhaps start with the defaults and see if all is ok, I have several test SVN repos in (e.g. 'labels_basic'):
https://swarm.workshop.perforce.com/projects/perforce-software-p4convert/files/main/test/com/perforce/integration/dumps
I'm about to head out of the office; if you need assistance, while I'm out next week, please contact support.
I set those options to the defaults with no change. There is no include.map defined and I don't see any reference to path.map in the instructions. It's looking to me like this tool is probably not safe for production use. I will keep an eye on it as it matures and will switch to svn2p4 since it is more stable and reliable, although slower.