Unable to check files in

This forum is now locked, since Gold Support is no longer offered.

Moderator: SourceGear

Locked
anotherlab
Posts: 23
Joined: Mon Apr 26, 2004 8:52 am
Location: Albany, NY
Contact:

Unable to check files in

Post by anotherlab » Thu May 24, 2007 1:36 pm

I have a project where I can not check in some of the files. I get the error message:
Item $/Delphi 2007/VTSuite/Utilities/SerialGen/serialgen.dpr caused the transaction to fail: A ShareBranch was attempted on an object that is not currently shared.

When I check in the files, for each file I see two items to check in. The first item has the full path to the file name, details is -2 bytes, and the type is Modified. The second item has the repository path to the file, details is "To" plus the repository path, and the type is "Branch From Share".

I'm not branching the code, but the folder is shared. The client and server are version 3.5.2.5087
Chris Miller
Tyler's VersaTrans Solution

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Post by lbauer » Thu May 24, 2007 7:05 pm

Are you using the Vault standalone GUI Client, or are you trying to integrate with Delphi?

Some screenshots might be helpful here.
Linda Bauer
SourceGear
Technical Support Manager

anotherlab
Posts: 23
Joined: Mon Apr 26, 2004 8:52 am
Location: Albany, NY
Contact:

Post by anotherlab » Thu May 24, 2007 7:34 pm

Hi Linda,

The errors occurred from the Vault Client. I am using a 3rd party addin that provides IDE integration with Delphi 2007. The product is SourceConneXion for Delphi 2007, from Epocalipse (http://www.epocalipse.com/).

I have attached a couple of screen shots that show the multiple items for the file and the error message. I even tried cancelling the check out, checking the fiel out again, make the same changes, then check the file in. Same multiple items per file, same error message.

I was checking the files in from the Vault client because I had another project open in the Deelphi IDE and I didn't want to switch to the first project just to check in two files. After making the screen shots, I reloaded the first project in Delphi to see if I would get a different error message. From within the IDE, the checkin worked without any errors.

That seems very strange, how could SourceConneXion checkout a file that would prevent the Vault client from checking the file back in?
Attachments
Checkin.png
The checkin dialog for one of the files with the problem.
Checkin.png (15.49 KiB) Viewed 5596 times
ErrorrMessage.png
The error message reported after the attempt to check the file in.
ErrorrMessage.png (4.73 KiB) Viewed 5596 times
Chris Miller
Tyler's VersaTrans Solution

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Post by lbauer » Fri May 25, 2007 9:32 am

You're working in an environment that's not fully supported, since we haven't tested Vault with Delphi in this scenario.

What's happening is that one item in a change set is failing to commit, which causes the entire change set (checkin) to fail.

If you uncheck the Branch from Share item in the checkin dialog, can you checkin the file?

It seems as though something (your IDE?) is trying to branch a shared file. However, because the folder is shared, the file is only a secondary share, and you can't branch (break) that kind of share on the file level.
Linda Bauer
SourceGear
Technical Support Manager

Locked