Vault.exe, Unknown file overwritten

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

Moderator: SourceGear

Locked
Tri
Posts: 288
Joined: Wed Dec 22, 2004 11:10 am

Vault.exe, Unknown file overwritten

Post by Tri » Tue Feb 08, 2005 9:29 am

Vault.exe 2.06, Executing:

vault get -makereadonly $/Projects/myProjectA

At the end there is a message saying <result success="yes" />
However, there were about 20 info messages scrolling in the console saying something similar to:

<!-- Unknown file C:\Projects\Dir1\Dir2\FileA.txt was overwritten.
A backup of this file can be found at
C:\Projects\Dir1\Dir2\_sgbak\FileA.txt.2005-02-08.10-24-24.8880
-->

What is an unknown file? The file was already there, what is the reason for it to become unknown?

jeremy_sg
Posts: 1821
Joined: Thu Dec 18, 2003 11:39 am
Location: Sourcegear
Contact:

Post by jeremy_sg » Tue Feb 08, 2005 9:34 am

Unknown files occur when the Vault working directory is set to a directory with preexisting files. If those files have the same name as files in Vault, they are treated as Unknown. Doing a get latest will resolve the unknown file to Blank, Needs Merge or Edited/Renegade.

You can find out what the file statuses mean at:

http://support.sourcegear.com/viewtopic.php?t=131

Locked