You dont need Valve for that. You can write a script to track changes/commit changes to your personal CVS.

Something like this, but better, that its unfinished.

#!perl

$file = "foobar_SDK.cpp";

$oldpath        ="oldsdk/";
$newpath        ="newsdk/";

$new = $newpath . $file;
$old = $oldpath . $file;

$c = "";

if (!(-e $new))
{
        $c = "-";
        `cvs remove $old`;
}
else
{
        $changes = `diff $new $old`;

        if ($changes)
        {
                $c = "*";
                `cvs commit $new`;
        }
        else
        {
                if (!(-e $old))
                {
                        $c = "+" ;
                        `cvs add $new`;
                }
                else
                {
                        #do nothing
                }
        }
}

print "$new $c\n" if ($c ne "");




Grant Christensen wrote:
What would be really good for futer updats would be an actual change
log of what files have changed.  this would be good bacuase I know
that sometimes when doing a merge I lose track of if I have looked at
all files or not.  This would be a great check list to ensure all
files have been merged.  just something simply like:

sdk_player.cpp +  (means added)
sdk_player.h -    (means removed)
player.cpp | - means changed

Anyway, would be handy, not sure if your revision control system
supports it.  would also help find all of the changes you have made,
unlike the current posts that just mention the major changes.

Grant.


On Wed, 19 Jan 2005 18:46:09 -0800, Alfred Reynolds <[EMAIL PROTECTED]> wrote:

Refresh SDK content just updates the various tools and example content
in the SDK. You need to "Create A Mod" to extract the new code.

- Alfred

----Original Message----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jeffrey
"botman" Broome Sent: Wednesday, January 19, 2005 6:28 PM To:
hlcoders@list.valvesoftware.com Subject: Re: [hlcoders] SDK update


Ben Davison wrote:

I've run a diff on the old code and the new code, and for some
reason it's coming up with no changes to the code.

Did it say "Copying Files. Please wait..." for about 2 or 3 minutes right after you clicked on "Play Games->Source SDK"?

I also did a "Refresh SDK Content", just for fun.

I got differences all over the place (first 2 files in
cl_dll\game_control, NavProgress.cpp and NavProgress.h are new).

There's LOTS of changes in sdk\nav_*.*

Are you doing a Single Player MOD or Multiplayer MOD?



_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders



Reply via email to