Steps to reproduce:
create a folder in vault ($/test1/folder1)
create a local folder (c:\test1\folder1)
set the working folder for $/test1/folder1 to c:\test1\folder1
create a few files (1.txt, 2.txt, 3.txt will work fine)
add 1.txt, 2.txt, and 3.txt to $/test1/folder1
GLV $/test1/folder1
create a folder in vault ($/test1/folder2)
share $/test1/folder1 into $/test1/folder2. (This creates $/test1/folder2/folder1)
branch $/test1/folder1
rename $/test1/folder1 to $/test1/folder1OLD
share $/test1/folder2/folder1 to $/test1 (this will create $/test1/folder1)
set working folder for $/test1/folder1 to c:\test1\folder1
look in c:\test1\folder1 and verify files are ok/untouched as expected.
GLV $/test1/folder1
look in c:\test1\folder1 and observe that all files are missing/vanished
GLV $/test1/folder1 again
look in c:\test1\folder1 and see that files are back
this has caused annoyances to our developers many times over the months, any chance of a fix?
local files vanish after branching/sharing
Moderator: SourceGear
I wasn't able to reproduce this.
What version of Vault Client and Server are you using?
Where are users storing their state/baseline files (_sgvault folders)? The setting is Tools->Options->Local Files->Cache/Backup Locations.
Mine were in my working directories.
What version of Vault Client and Server are you using?
Where are users storing their state/baseline files (_sgvault folders)? The setting is Tools->Options->Local Files->Cache/Backup Locations.
Mine were in my working directories.
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager
We had a report from another user of a similar issue, and this was the problem:
We've logged a bug about this behavior and are working to fix it.
In your case, renaming the folder has the same effect as deleting the folder in the case described above. A simple work-around would be to set the "Peform Repository Deletions" to "Do not remove working copy".If your option to "perform repository deletions locally" is not set to "Do not remove working copy", and you've deleted a repository folder and then added a new folder of the same name, the next time you do a Get it will remove files in that folder that were not retrieved as part of the Get.
We've logged a bug about this behavior and are working to fix it.
Linda Bauer
SourceGear
Technical Support Manager
SourceGear
Technical Support Manager