nocache in SOS GUI Client

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

Moderator: SourceGear

Post Reply
Dmitry TI
Posts: 10
Joined: Wed Jan 04, 2006 11:21 am

nocache in SOS GUI Client

Post by Dmitry TI » Fri Jan 13, 2006 8:17 am

Hi,

How can I set in SOS GUI Client to stop caching files. I know it is possible in soscmd.exe if you set -nocache parameter instead SOSHome during checking out files.

Thanks.

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

Post by lbauer » Fri Jan 13, 2006 9:06 am

What problem would you like to solve by not caching the files?

Is it a problem with the cache file itself, or do you want to fetch a new version of the file when you do a get, whether or not the file has changed?
Linda Bauer
SourceGear
Technical Support Manager

Dmitry TI
Posts: 10
Joined: Wed Jan 04, 2006 11:21 am

nocache in SOS GUI Client

Post by Dmitry TI » Fri Jan 13, 2006 9:30 am

The real problem is that if somebody checked in Directory (not as urgency for files) into repository, and after this somebody else will checkout src from repository, files from checked in Directory will not be get until you are not refresh project tree.
Sorry for tangled description.

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

Post by lbauer » Fri Jan 13, 2006 9:54 am

I understand -- when someone adds a project, you don't see that project in your SOS Client until you refresh the Project Tree.

There is no easy solution for this. One of the reasons SOS is so much faster than VSS over the Internet is because the Project Tree is cached. Refreshing the project tree over the Internet is very slow and can cause a big performance hit if it is done frequently. That's why there is no automatic refresh -- refreshing the project tree is a manual operation.

Perhaps your team can communicate with each other when they add a project, or you could refresh the project tree manually from time to time.
Linda Bauer
SourceGear
Technical Support Manager

Dmitry TI
Posts: 10
Joined: Wed Jan 04, 2006 11:21 am

nocache in SOS GUI Client

Post by Dmitry TI » Fri Jan 13, 2006 9:56 am

Ok. Thanks.

Sky
Posts: 9
Joined: Wed Nov 23, 2005 8:32 am

Post by Sky » Wed Feb 08, 2006 4:12 am

hi!

You can write a small Batchfile

soscmd.exe -command GetProjectTree -database ... -server ... -name ... -password ...
sos.exe

this will refresh the Project tree every time you start SOS.

Dmitry TI
Posts: 10
Joined: Wed Jan 04, 2006 11:21 am

nocache in SOS GUI Client

Post by Dmitry TI » Thu Feb 09, 2006 2:10 am

Thanks Sky! It's a good idea.

Post Reply