Hello,
In file system, I have directory X with several subdirectories with files.
In Vault, I have directory Y which working directory is set to X.
The subdirectories of X each have multiple files; I want to add only one file from each subdirectory to Vault.
I right-click Y in Vault, select "add files/folders", then select subdirectories one by one, and check one file I want to add in each*. When I do it, Vault sets repository path of each file to $/Y/file.
In other words, even though the real files are in subdirectories, I add them all to the root of Y in Vault.
Then I commit the change, it finishes successfully, but in Vault the status of each file is Missing.
I think, if Vault does not support individual working directory per-file, then it probably shouldn't allow adding the files without subdirectories?
-----------
*) by the way, as suggestion, it would be convenient to have a button "select files by filter" in that dialog, similar to the existing "exclude".
Adding files from subdirectories results in missing status
Moderator: SourceGear
To the working directory defined for the Project.
However, there is another option. If you want to match your disk hierarchy, you can add the subdirectory itself to the Project. Doing so will create a sub Project off of Y (from your earlier example). You may then set the working folder for the newly created sub Project to that of the sub folder where you added the file(s).
Then your gets, check ins, and check outs will occur in the sub directory.
However, there is another option. If you want to match your disk hierarchy, you can add the subdirectory itself to the Project. Doing so will create a sub Project off of Y (from your earlier example). You may then set the working folder for the newly created sub Project to that of the sub folder where you added the file(s).
Then your gets, check ins, and check outs will occur in the sub directory.