Problem with frx files checking in when keep checked out on
Moderator: SourceGear
Problem with frx files checking in when keep checked out on
Hi,
We're having problems using Vault with VB. Most forms have an associated frx file. When we check out the form the frx comes with it. Fine.
When we check in and choose keep checked out it sometimes checks in the frx as it is unchanged. How do we make it stay checked out?
Thanks
We're having problems using Vault with VB. Most forms have an associated frx file. When we check out the form the frx comes with it. Fine.
When we check in and choose keep checked out it sometimes checks in the frx as it is unchanged. How do we make it stay checked out?
Thanks
Yes, the "Checkin Unchanged File" would affect this in 3.0. Our 3.1 beta has a fix for this (see http://support.sourcegear.com/viewtopic.php?t=3921), so you may consider upgrading to it. We have a Beta 2 coming out hopefully this week, maybe next, and a final should be coming this summer.
If you change the option to "checkin", it will check the file in (creating a new version), even though it didn't change. The bug was that if the file is not modified and the option was to undo the checkout, it would undo the checkout, but then not redo the checkout (because the second option asks for the file to be checked out again).
This shouldn't happen in the GUI client in 3.0.7. If you have steps to reproduce it, definitely let us know.
Thanks,
This shouldn't happen in the GUI client in 3.0.7. If you have steps to reproduce it, definitely let us know.
Thanks,
-
- Posts: 1
- Joined: Thu Jun 23, 2005 2:32 am
Hi Dan,
Here are the steps to reproduce in 3.0.7
1. Create a simple text file with 2 lines in it. 1st line 'a', 2nd line 'b'.
2. Set the option to be 'undo check out'
3. Add file to project
4. Check it out
5. Open text file in Notepad, reverse lines so that 1st is b and 2nd is a
6. Save it
7. The pending change set reports 'size unchanged'
8. Change text file back so that 1st is a and 2nd is b
9. Save it
10. The pending change set still reports 'size unchanged'
11. Choose 'Commit All' AND 'keep checked out'
12. The file gets checked in when it shouldn't....
If I had done the commit all after step 6 it would have worked. It's only when the file has been modified and then modified back to it's original state.
Hope this helps.
Great product by the way - what a joy to use after 10 years of SourceSafe!
Here are the steps to reproduce in 3.0.7
1. Create a simple text file with 2 lines in it. 1st line 'a', 2nd line 'b'.
2. Set the option to be 'undo check out'
3. Add file to project
4. Check it out
5. Open text file in Notepad, reverse lines so that 1st is b and 2nd is a
6. Save it
7. The pending change set reports 'size unchanged'
8. Change text file back so that 1st is a and 2nd is b
9. Save it
10. The pending change set still reports 'size unchanged'
11. Choose 'Commit All' AND 'keep checked out'
12. The file gets checked in when it shouldn't....
If I had done the commit all after step 6 it would have worked. It's only when the file has been modified and then modified back to it's original state.
Hope this helps.
Great product by the way - what a joy to use after 10 years of SourceSafe!