Paired file version numbers are different; Visual FoxPro

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
dlowrey
Posts: 3
Joined: Mon Aug 08, 2005 8:33 pm

Paired file version numbers are different; Visual FoxPro

Post by dlowrey » Tue Oct 25, 2005 1:43 pm

Question
1. Is there a way to manually edit the version number of a file?
2. Why are my paired files showing different version numbers?

Facts
I am testing Vault without IDE integration. In VFP, file pairs are checked out together, and we are careful to check them in together. File pairs are those objects which require two files, such as forms and class libraries (myform.scx, myform.sct, myclasslib.vcx, myclasslib.vct). For reasons that I cannot explain, sometimes after check in, one of the file's version number is incremented, the other is not. Since the files are dependent on each other, it seems to me that they should always have the same version number.

Any insight would be most appreciated.

Regards
Donald Lowrey

dan
Posts: 2448
Joined: Wed Dec 17, 2003 5:03 pm
Location: SourceGear
Contact:

Post by dan » Tue Oct 25, 2005 1:59 pm

It is probably the case that your options are set to uncheck out a file that gets checked in, but hasn't actually been changed. Foxpro probably made modifications to only one of the pair files (even though both were checked out), so when Vault went to check the files in, it only checked in the one that actually changed.

You can change this in Tools->Options->Check In so that the files are always checked in, even if they have not changed.

That said, there is no way to set a file at a certain version - you would have to manually check it in a bunch of times (without changes) to get the version number caught up with the other pair file.

dlowrey
Posts: 3
Joined: Mon Aug 08, 2005 8:33 pm

Paired File Versions - That's It!

Post by dlowrey » Tue Oct 25, 2005 4:48 pm

You suggestion solved the problem. Thank you.
- Don Lowrey

Post Reply