Checking in files that were checked out to a different loc..

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

Moderator: SourceGear

Post Reply
BigFunger
Posts: 4
Joined: Mon Aug 06, 2007 8:25 am

Checking in files that were checked out to a different loc..

Post by BigFunger » Mon Aug 06, 2007 8:31 am

Hi all,

I've got a little problem. I've got a project in vault, and I checked out and edited a bunch of files on one computer. That computer has since died, but I was able to recover all of the files from the project. My problem comes when I am attempting to check the edited files back into vault from a new computer.

I am logged in as the same user that checked out the files. I updated the working folder of the project to the folder on the new computer, and the files that I have checked out are listed as "Edited" (although the local and remote version numbers are the same)

I disabled (Tools>Options>Check In>Require Check Out before Check In) because all of the files were listed as Renegade.

When I attempt to check the files back in though, I get the following error:

Code: Select all

Item <filename> caused the transaction to fail: The file has been exclusively locked.
where <filename> is the name of the file I am attempting to check in.

Any help would be appreciated as I am a little stuck at this point. Thanks!

-Jim

Terence
Posts: 164
Joined: Thu Feb 02, 2006 2:43 pm
Location: SourceGear

Post by Terence » Mon Aug 06, 2007 8:42 am

What version of Vault are you using and were the files checked out with exclusive locks on the broken machine?

BigFunger
Posts: 4
Joined: Mon Aug 06, 2007 8:25 am

Post by BigFunger » Mon Aug 06, 2007 9:08 am

The files were checked out with exclusive locks on the broken machine, and I am using version 3.5.1 (4786)

-Jim

Terence
Posts: 164
Joined: Thu Feb 02, 2006 2:43 pm
Location: SourceGear

Post by Terence » Mon Aug 06, 2007 9:32 am

Have you tried using the Admin Tool to undo those checkouts? From what you're describing, doing that should get you out of that state.

BigFunger
Posts: 4
Joined: Mon Aug 06, 2007 8:25 am

Post by BigFunger » Mon Aug 06, 2007 10:20 am

If I Undo the checkouts, won't I lose the changes to those files? I need to preserve the changes.

-Jim

Terence
Posts: 164
Joined: Thu Feb 02, 2006 2:43 pm
Location: SourceGear

Post by Terence » Mon Aug 06, 2007 10:25 am

No you won't lose the changes. When performing an undo checkout from the Admin tool, the files on the target machine aren't changed. The Vault Server updates its internal status for the files to "not checked out to x user on x machine" and it should allow you to check in the changes from the new machine.

BigFunger
Posts: 4
Joined: Mon Aug 06, 2007 8:25 am

Post by BigFunger » Mon Aug 06, 2007 10:30 am

Excellent. Thank you for your help!

Post Reply