Problems with PVCS -> SVN

Moderators: chyliko, engeleb, NickEntin, ldornbusch

Problems with PVCS -> SVN

Postby rsanheim » Mon Jun 14, 2010 6:43 pm

Hi all

We are trying to convert a large PVCS repo to SVN, and having problems with missing files between what we see underneath certain labels in PVCS and what SVN has under the corresponding tag. For example, we have a label called "capp_supp" in PVCS that lost 1000 files after import (the total checkout from PVCS has 11418 files).

I've attached the properties file that we used when we ran the tool.

Could anyone point us towards things to look at with this?

Thanks,
Rob
rsanheim
 
Posts: 2
Joined: Mon Jun 14, 2010 3:26 pm

Re: Problems with PVCS -> SVN

Postby kencorbin » Wed Jun 23, 2010 7:51 pm

Haven't had much call to look into the PVCS migration code. But here is what I tracked down.

The label information is retrieved by parsing the output of the vlog command, looking for a section labeled "Version labels:". This is followed by the label information, one label and associated revision number per line. Something called floating labels (those ending with an asterisk) are skipped. If there are duplicate label definitions, only the last one is accepted.

If no revision is found with the labeled revision number, the label will be skipped with a log warning
"Labeled revision " + revisionNumber + " not found, label=" + label + ")"

Further on, there is code to reject a label duplicate labels applied to a revision. Right now I don't see how this can possibly happen, but if it does, the logged error message will be
getPath() + ": duplicate tag " + tag.getName()

Otherwise the labeled revision should be copied into a tags/ subdirectory.

If you want to track this down further, I would identify one particular file that you think should have been copied to a tag directory but wasn't. Then..
1) Verify that that label does appear in the output of a vlog command for that file
2) Check the log file for any errors or warnings that involve this file.

Good luck,
-Ken
kencorbin
 
Posts: 132
Joined: Fri Nov 16, 2007 10:30 pm
Location: Corvallis, OR


Return to Polarion SVN Importer (Repository Converter)

Who is online

Users browsing this forum: Google [Bot] and 1 guest

cron