IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Branches in QVCS.
Frans
post Oct 12 2009, 04:37 AM
Post #1


Member
**

Group: Members
Posts: 10
Joined: 21-March 06
Member No.: 187



Assume I have the following revisisons on a file:
Revision 1.0 Main with one version
Revision 1.0.1.1 Branch 1 with one version
Revision 1.0.1.1.1.1
Revision 1.0.1.1.1.2 Branch 2 with 2 versions

So the design have 3 branchesL: 1.x, 1.0.1.x and 1.0.1.1.1.x
When I check out and in Revision 1.0, I get the following revisions:
Revision 1.0
Revision 1.1
Revision 1.0.1.1
Revision 1.0.1.1.1.1
Revision 1.0.1.1.1.2
This is in my opinion OK.

When I check out and in Revision 1.0.1.1, I get the following revisions:
Revision 1.0
Revision 1.1
Revision 1.0.1.1
Revision 1.0.1.2
Revision 1.0.1.2.1.1
Revision 1.0.1.2.1.2
Why are revisions 1.0.1.1.1.1/1.0.1.1.1.2 changed to 1.0.1.2.1.1/1.0.1.2.1.2? In my opinion it must be still 1.0.1.1.1.1/1.0.1.1.1.2.


With kind regards Frans.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Jim Voris
post Oct 13 2009, 09:29 PM
Post #2


Advanced Member
***

Group: Members
Posts: 894
Joined: 4-October 04
From: Maryland, USA
Member No.: 2



It's a bug. Thanks for pointing out the problem!


--------------------
Jim Voris -- Author of QVCS/QVCS-Pro/QVCS-Enterprise
Affordable Version Control Solutions
www.qumasoft.com
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Frans
post Oct 14 2009, 02:02 AM
Post #3


Member
**

Group: Members
Posts: 10
Joined: 21-March 06
Member No.: 187



When do you expect to solve the problem in a QVCS release?

In our QVCS archives we have several branch stuctures as described above. We have labeled the 3 branches, and if we check out/in 1.0.1.1 we losse also the labels of third branche! So it is a real problem for us.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Jim Voris
post Oct 15 2009, 09:12 PM
Post #4


Advanced Member
***

Group: Members
Posts: 894
Joined: 4-October 04
From: Maryland, USA
Member No.: 2



Turns out, this is a pretty serious bug. I'm still trying to figure out the right way to fix it, and also to figure out what workarounds might be available so that you don't lose any revision data. In the meanwhile, please stay away from checking in multiple revisions on a branch that is a parent to other (deeper) branches. i.e. the step you highlighted in creating the 1.0.1.2 revision is the step that exposes the bug. Note this limitation only applies to branches -- it does not apply to the trunk.


--------------------
Jim Voris -- Author of QVCS/QVCS-Pro/QVCS-Enterprise
Affordable Version Control Solutions
www.qumasoft.com
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Jim Voris
post Oct 19 2009, 08:24 PM
Post #5


Advanced Member
***

Group: Members
Posts: 894
Joined: 4-October 04
From: Maryland, USA
Member No.: 2



I have a fix coded... I want to test it a bit more to make sure I didn't break anything.

There is no easy workaround for recovering the archive files -- aside from a writing a manual utility to repair the archive files. Contact me by e-mail (jimv at qumasoft dot com) if you'd like to explore that alternative (there would be no charge). Absent a repair, the deepest branch revisions would be lost.


--------------------
Jim Voris -- Author of QVCS/QVCS-Pro/QVCS-Enterprise
Affordable Version Control Solutions
www.qumasoft.com
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Jim Voris
post Oct 20 2009, 08:52 PM
Post #6


Advanced Member
***

Group: Members
Posts: 894
Joined: 4-October 04
From: Maryland, USA
Member No.: 2



The fix (in the 3.10.19 release) is now posted on the download page. Thanks again for bringing this problem to my attention.


--------------------
Jim Voris -- Author of QVCS/QVCS-Pro/QVCS-Enterprise
Affordable Version Control Solutions
www.qumasoft.com
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Frans
post Oct 21 2009, 02:50 AM
Post #7


Member
**

Group: Members
Posts: 10
Joined: 21-March 06
Member No.: 187



Thank you for the quick response!

It works ok now until we delete a revision. For example:

Assume we have the following revisions and we check out/in 1.0.1.1, we get:
Revision 1.0
Revision 1.1 with floating label branch1
Revision 1.0.1.1
Revision 1.0.1.2 with floating label branch2
Revision 1.0.1.1.1.1 with floating label branch3

Now we delete revision 1.0.1.2. And we check out/in revision 1.0.1.1 again. Now we get the following versions:

Revision 1.0
Revision 1.1 with floating label branch1
Revision 1.0.1.1
Revision 1.0.1.1.2.1
Revision 1.0.1.1.1.1 with floating label branch3

Note that also the floating label branch2 has disappeared and it is not possible anymore to apply the same label branch2!

Note that this are no operations for normal use but we have performed these actions to verify the working of QVCS.

With kind regards Frans.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Jim Voris
post Oct 22 2009, 09:22 PM
Post #8


Advanced Member
***

Group: Members
Posts: 894
Joined: 4-October 04
From: Maryland, USA
Member No.: 2



It looks like another bug. I'm still investigating. In the meanwhile, the workaround would be to not delete branch revisions. The bug is more specific than that and is related (again) to the specific way you have created your branches.


--------------------
Jim Voris -- Author of QVCS/QVCS-Pro/QVCS-Enterprise
Affordable Version Control Solutions
www.qumasoft.com
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 21st November 2009 - 10:35 AM