All files have Unknown Status

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

Moderator: SourceGear

Post Reply
beanmf
Posts: 14
Joined: Tue Aug 24, 2004 11:44 am

All files have Unknown Status

Post by beanmf » Tue Aug 24, 2004 11:49 am

I had many files checked out. Then, due to an Oracle bug, I had to move my development directory up a level on disk. I then made sure that SGVault was pointing at the new directory. When I went to check files in, I noticed that every single file had an unknown status, so I cannot get differences.

I REALLY need to Get Differences as I am maintaining two versions and use this info to propagate changes to other version. HELP please! :cry:
Also, I really need to Check the changes in!

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

Post by dan » Tue Aug 24, 2004 1:40 pm

As you've noticed, Vault can't do a checkin on an unknown file - it needs a baseline file to determine what has changed in the file. Moving your files to a new working folder and then setting the working folder to the new place unfortunately doesn't work, because Vault doesn't know that the files you moved to the new locations are the same ones as from the old folder.

The best way to proceed is to copy all of your working files to another folder, do a fresh Get from Vault to overwrite the files in the working folder (which establishes a baseline), and then copy the actual working files on top of that. This will make all files appear edited, since their dates will have changed, but doing a checkin will throw out any files that have not actually been modified if you have your "checkin unchanged files" option set to Undo Checkout.

One caveat - if anyone else has modified files in the repository while you have been working on them, be careful not to overwrite their changes with your checkin. After the Get Latest, Vault will think that all your files had been modified starting at the latest version, and if someone else had checked in changes while you were working, you will overwrite those changes.

beanmf
Posts: 14
Joined: Tue Aug 24, 2004 11:44 am

Post by beanmf » Tue Aug 24, 2004 2:09 pm

thanks Dan, that should work fine.

Post Reply