SVN importer and partial baselines
![]()
Using RTC 4.0.0.2
I've imported the trunk from my SVN repository and requested that baselines be created for the SVN tags on the trunk. The baselines created by the RTC importer have the word "partial" in their name.
When I checkout and compare the latest RTC component against the latest SVN trunk everything matches (except for EOL problems that I addressed using a changeset).
However, if I compare one of the RTC created 'partial' baselines against the associated SVN tag, they don't match exactly, which I suppose is why those baselines are marked "partial".
After reading article https://jazz.net/library/article/650 I see that I must re-import the tags to 'complete' the RTC baselines, but I wasn't sure exactly how to do that.
What steps should I follow to resolve these 'partial' baselines and make them exactly match their SVN counterparts ?
Thanks
Dave
|
One answer
![]()
Correct, you have to perform subsequent imports for the branches and tags that you want to import.
https://jazz.net/library/article/650#Importing_trunk_and_branches_fro Perform the import for the tag just the same as you would with a branch. Comments Ok so just to be clear.
I create a workspace containing the trunk baseline that I'm interested in. Then I re-import the SVN trunk again ? or the SVN tags/<tagname> ?
Dave
One more question ..
I have about 10 tags on the trunk .. does this mean that I'll end up with 10 workspaces, one for each baseline/tag ?
Will I ever use the baselines in the originally imported workspace ?
The baseline marks the beginning of the branch/tag. Anything that happens in the branch or tag after the baseline has to be imported. I believe the default import options creates a baseline after the import. That will represent the end point of the branch/tag.
Ok thanks .. I'll try the tag import later today.
I just realized however that the RTC component folder structure has a top-level folder called "trunk" .. apparently because I took defaults during the import of the SVN trunk. This wouldn't be a good choice when you must do subsequent imports from the SVN tags and branches folders.
I've asked another question about how to choose my own top-level folder that can remain constant for all imports.
Ok I've confirmed that (for at least one of my baselines) the 2nd import corrects the previous mismatches. The baseline now compares accurately with its matching SVN tag. (minus the continual EOL problems) |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.