Shared files after branch

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

Moderator: SourceGear

Post Reply
humphry
Posts: 25
Joined: Thu Aug 20, 2009 5:32 am

Shared files after branch

Post by humphry » Thu Dec 01, 2011 5:07 am

In our source tree we have a root folder for some solutions.
All solutions have the same shared folder containing some files (only the folder is shared, not the files inside).
We created a branch from that root folder.
Now the solutions in the branch still have the shared folder, but also all files within that folder are shared!
See attached screenshots.

Is this by design??
Attachments
branch.png
Branch tree
branch.png (28.99 KiB) Viewed 3893 times
source.png
Source tree
source.png (31.27 KiB) Viewed 3893 times

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Shared files after branch

Post by lbauer » Thu Dec 01, 2011 12:17 pm

I created $/TestFolderA, shared it to create $/Shared/TestFolderA. Then I branched from $/TestFolderA.

There were no shares after that.

Are my steps similar to what you did?

There might be some more complex history/sharing in your case.

It's also possible there's some inconsistency in the Vault Server cache.

As a test, You can reset the cache on one of the Vault Clients with the following steps Depending on your OS, find the path

C:\Users\username\AppData\Local\Sourcegear\Vault_1
or
C:\Documents and Settings\<userprofile>\Local Settings\Application Data\SourceGear\Vault_1


and delete or rename the entire Vault_1 folder.

Restart IIS with an "iisreset" command.

Next, reset working folders and perform a Get Latest with Do Not Overwrite/MergeLater to re-establish baselines, rebuild the cache files and reset file status.

Let me know if this does not resolve the problem.
Linda Bauer
SourceGear
Technical Support Manager

humphry
Posts: 25
Joined: Thu Aug 20, 2009 5:32 am

Re: Shared files after branch

Post by humphry » Fri Dec 02, 2011 6:09 am

Your scenario is not the same as mine.
In your case you should branch from $/Shared/ to for example $/Branch/Shared/
And then check the files inside $/Branch/Shared/TestFolderA/

We tested with resetting cache etc. Does not make a difference.

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Shared files after branch

Post by lbauer » Fri Dec 02, 2011 2:55 pm

I haven't been able to reproduce this.

I'd suggest we schedule a remote assist session where I can take a closer look. Email support at sourcegear.com, Attn: Linda, and we'll set something up. Please include a link to this forum post.
Linda Bauer
SourceGear
Technical Support Manager

Post Reply