Migration from 3.0 to 4.0 and LABEL HISTORY
#1
Posted 27 January 2012 - 09:23 PM
#2
Posted 30 January 2012 - 09:22 AM
yes the labels are quite different between 3.0 and 4.0.
In 3.0 you can apply a label a workspace content having revisions from tons of changesets. In 4.0 are not applied to a certain changeset thanks to the DAG structure.
So the relationship has been moved from 1 - n to 1-1.
That said, the labels migration are not an easy thing, so we have to go trough a compromise solution. The 90% of the cases the labels are mapped to 4.0 as you can see them drawn in the 3.0 branch explorer, in the other 10% are more difficult to handle.
Can you show us and example of one of your imported labels?
Manu.
#10
Posted 01 February 2012 - 11:00 PM
#12
Posted 02 February 2012 - 10:33 AM
Fortunately not a lot of people is running into the same issue with labels.
One of the key reasons why we (and all known DVCS out there such us Git, Mercurial, Bazaar and others) moved towards "changeset based" labels was:
- 99,99% of the time teams were labeling csets instead of individual file sets
- Applying the new labels is simply incredibly much faster than it used to be
- Overall, the entire system is easier to understand
- What do you use the partial labels for? Releases?
- Would it be possible to create a configuration on a branch matching a "partial label setup"?
- Are your partial labels just sub-trees? If so, maybe we can have a potential solution.
#13
Posted 02 February 2012 - 07:06 PM
- What do you use the partial labels for? Releases?
Yes for releases.
- Would it be possible to create a configuration on a branch matching a "partial label setup"?
Please elaborate on this and what the ultimate goal would be for doing this...would it be a prelude for a possible work around?
- Are your partial labels just sub-trees? If so, maybe we can have a potential solution.
Yes. We have one repository with about 20 sub-directories. The labels reflect a component like approach in putting together a number of these sub-directories for a release. Moving forward with Plastic 4.0 I would like to move away from this in favor of having each one of these sub-directories be a repository. Where I create a repository containing all the release branches for each of these projects that I can then use Xlinks to link to specific repository changesets or labels for a release tag on the branch.
#15
Posted 02 February 2012 - 08:26 PM
We will need to split the repo in parts, but this functionality is planned but not yet there. We could replicate to 20 different repos and then delete the remaining parts, but doesn't sound so good. We'll have to think on it and try to come up with a solution for your scenario, it is not evident.
If you need more specific support, please contact us to the support email, this case seems to exceed forum purpose.
#17
Posted 15 February 2012 - 01:44 AM
That being said, let's try to figure out a solution for you:
- What do you use the partial labels for? Releases?
- Would it be possible to create a configuration on a branch matching a "partial label setup"?
- Are your partial labels just sub-trees? If so, maybe we can have a potential solution.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users











