checkin consistently fails

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

Moderator: SourceGear

Post Reply
brydon
Posts: 18
Joined: Mon Apr 18, 2005 9:15 am

checkin consistently fails

Post by brydon » Fri Jul 08, 2005 10:13 am

I cannot checkin a particular file in vault 3.0.5 (2833).

I've tried deleting the file and recreating it. I can checkout. When I attempt to checkin, it begins the transaction only to fail with:

Item $/Code/Trunk/src/Common/Model/ApplicationPasswordSetting.cs caused the transaction to fail: An item with the same name or object id already exists in the selected folder.
Transaction failed

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

Post by lbauer » Fri Jul 08, 2005 12:55 pm

Did you delete the file and recreate it within VS.NET? Are you doing the checkin from VS.NET?

Deleting a file from within VS.NET does not delete the file from the Vault database. More info here:

http://support.sourcegear.com/viewtopic.php?t=297
Linda Bauer
SourceGear
Technical Support Manager

brydon
Posts: 18
Joined: Mon Apr 18, 2005 9:15 am

deleting

Post by brydon » Fri Jul 08, 2005 1:28 pm

I deleted the file from the related csproj as well as the file system as well as the vault client. I will try doing that process again, however, that doesn't feel like a proper fix to me. In this case, this is a new file so I don't mind losing it's history but if that wasn't the case I would need a way to resolve this without losing the file's meaningful history.

brydon
Posts: 18
Joined: Mon Apr 18, 2005 9:15 am

still no workie...

Post by brydon » Fri Jul 08, 2005 1:34 pm

I tried deleting it everywhere I can think of and then creating a new file, same result.

brydon
Posts: 18
Joined: Mon Apr 18, 2005 9:15 am

resolved

Post by brydon » Mon Jul 11, 2005 10:05 am

I was able to get past this. For some reason, an add event was showing up in the list of changes. Unchecking that event during the checkin allowed it to complete.

thanks,
brydon

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

Post by dan » Mon Jul 11, 2005 10:08 am

You might want to go into the Vault GUI client and just remove that Add operation from the pending change set, as it will continue to be included in commits until it is removed (assuming the Add operation is not valid anymore).

Post Reply