Fix for Renegade Files in SOS due to Daylight Savings Time

A collection of information about SourceOffSite, including solutions to common problems.

Moderator: SourceGear

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

Fix for Renegade Files in SOS due to Daylight Savings Time

Post by lbauer » Tue Mar 30, 2004 12:05 pm

NOTE: Daylight Savings Time in the U.S. will begin on March 11, 2007. Make sure you machine is ready for the change:
http://www.microsoft.com/windows/timezone.mspx

Fix for Renegade Files in SOS due to Daylight Savings Time

SOS users with a FAT32 files system on their SOS Client machines may have a problem with files appearing as 'Renegade' following Daylight Savings Time changes. Users running on WinNT with NTFS should not experience this problem.

This issue is completely harmless, and has no bearing on your source tree. In the past, the only way to correct the problem was to perform a "Get Latest Version" on the affected files to return to normal.

Now, we offer a utility that adjusts the file times in your databaseX.sos file to compensate for the effects of Daylight Savings Time. There is a command for daylight savings time changes in the Fall and another for Spring.

Download the SosFileFix executable SosFileFix.exe

Then follow these instructions for Daylight Savings Time changes in Spring or Fall:

For Fall:

Close any instances of SourceOffSite. This includes the stand alone client, as well as any instances of IDE clients if used.

Find the path to the SourceOffSite cache file.

SOS 3.x -- Start in the SourceOffSite Client installation directory, and find a directory named "servers". Within the servers directory will be a directory named for the machine that the SOS client connects to. Within that directory there will be at least two files; index.sos and database1.sos. Note the full path name to the database1.sos file as it will be the path name entered in step 3.

SOS 4.x -- Start in "Documents and Settings\<Username>\Application Data\SourceGear\SOS" and find a directory named "servers". Within the servers directory will be a directory named for the machine that the SOS client connects to. Within that directory there will be at least two files; index.sos and database1.sos. Note the full path name to the database1.sos file as it will be the path name entered in step 3.

For SOS Collab Users: Find the path to the SourceOffSite Collab cache file.The databaseX.sos file is located in Documents and Settings->(your username)->Application Data->SourceGear->SOS Collab->Servers.

Please Note: If you connect to more than one database, the following procedure will need be done once for each databaseX.sos file.

Open a command prompt in the folder where your SOS databaseX.sos file is located

Back up your SOS file: "copy <<filename>>.sos <<filename>>.bak"

Run the SosFileFix utility:

"SosFileFix <<filename>>.sos fall"
(in the fall when clocks move back one hour)

Delete your old SOS file: "del <<filename>>.sos"


Rename the fixed SOS file: "rename <<filename>>.sos.fix>> <<filename>>.sos"


Restart SourceOffSite.

Please Note: If you have already manually done a "Get Latest" on any project folder to get rid of the Renegade label, then running SosFileFix will make the files in those directories appear as Renegade.

For Spring

Close any instances of SourceOffSite. This includes the stand alone client, as well as any instances of IDE clients, if used.


SOS 3.x -- Start in the SourceOffSite Client installation directory, and find a directory named "servers". Within the servers directory will be a directory named for the machine that the SOS client connects to. Within that directory there will be at least two files; index.sos and database1.sos. Note the full path name to the database1.sos file as it will be the path name entered in step 3.

SOS 4.x -- Start in "Documents and Settings\<Username>\Application Data\SourceGear\SOS" and find a directory named "servers". Within the servers directory will be a directory named for the machine that the SOS client connects to. Within that directory there will be at least two files; index.sos and database1.sos. Note the full path name to the database1.sos file as it will be the path name entered in step 3.

For SOS Collab Users: Find the path to the SourceOffSite Collab cache file.The databaseX.sos file is located in Documents and Settings->(your username)->Application Data->SourceGear->SOS Collab->Servers.

Within the servers directory will be a directory named for the machine that the SOS client connects to. Within that directory there will be at least two files; index.sos and database1.sos. Note the full path name to the database1.sos file as it will be the path name entered in step 3. (Please note: If you connect to more than one database, the following procedure will need be done once for each databaseX.sos file).

Open a command prompt and change directories to the folder where your SOS databaseX.sos file is located.

Back up your SOS file: "copy <<filename>>.sos <<filename>>.bak"


Run the SosFileFix utility: "SosFileFix <<filename>>.sos spring"
(in the spring when clocks move ahead one hour)

Delete your old SOS file: "del <<filename>>.sos"

Rename the fixed SOS file: "rename <<filename>>.sos.fix>> <<filename>>.sos"

Restart SourceOffSite.

Please note: If you have already manually done a "Get Latest" on any project folder to get rid of the Renegade label, then running SosFileFix will make the files in those directories appear as Renegade.
Attachments
SOSFileFix.ZIP
Daylight Savings Time fix for SOS
(16.79 KiB) Downloaded 3261 times
Linda Bauer
SourceGear
Technical Support Manager

Post Reply