deleted file still showed on check in

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

Moderator: SourceGear

Post Reply
jamesshaw
Posts: 8
Joined: Tue Jan 04, 2005 10:23 am

deleted file still showed on check in

Post by jamesshaw » Thu Jan 20, 2005 12:26 pm

I deleted a file that was no longer needed. I dont remember how exactly I did it, but I imagine I right-clicked and chose delete. I remember there was a problem because it was checked out at the time, but I think I undid the checkout and then deleted.

Today I noticed that although the file doesnt appear in the repository or hard drive it is shown when you check in. I usually check in many files by right-clicking on the folder and choosing Check in.. - this old file appears in that list, and I cant work out how to make it disappear.

It appears as a type "Delete File". If I leave it checked and check in, I get "Item $/TacitBlue/AssetList.cs caused the transaction to fail: The object could not be found. It may have been deleted, moved or renamed."

I also saw it under Pending Change Set, and commit gave the same error. However I just clicked Undo on that tab and now the problem seems to be fixed! Can you explain what happened?
James Shaw

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

Post by dan » Thu Jan 20, 2005 12:38 pm

It is likely that you invoked delete twice on the file. The first time it failed because it was checked out, but then it was put in the pending change set to be committed next time (we never remove items from the pending change set when the transaction files, because it is rarely the case that that is desired behavior). So, the 2nd time you invoked delete, it worked, but the original request was still hanging around.

Using Undo is the right solution in this case, you are should be good to go.

Post Reply