Original Post
🔒 Locked
Source code control software
Advertisement
Just use build numbers and keep a comment block at the top describing the last few changes and what version the code is. Then, when you need to compare code, just take anything both your code doesn''t have, implement it together, then up the build version.
"C makes it easy to shoot yourself in the foot; C++ makes it harder, but
when you do, it blows away your whole leg."
- Bjarne Stroustrup
Realm Games Company
"C makes it easy to shoot yourself in the foot; C++ makes it harder, but
when you do, it blows away your whole leg."
- Bjarne Stroustrup
Realm Games Company
Both CVS and Subversion can work against local repositories, IE repositories residing on a local disk. With Subversion you''d do something like this:
svnadmin create C:\repos # create the repository
svn import file:///repos C:\quake6 -m "Initial import # import our project
mkdir C:\work # a place to put the working copy
cd \work
svn co file:///repos quake6 # check out the working copy
cd quake6
start quake6.sln
# work goes here
svn ci -m "Commit message" # Commit our changes
More information about Subversion can be found in the Subversion book, available for free online: http://svnbook.red-bean.com/
"If there is a God, he is a malign thug."
-- Mark Twain
svnadmin create C:\repos # create the repository
svn import file:///repos C:\quake6 -m "Initial import # import our project
mkdir C:\work # a place to put the working copy
cd \work
svn co file:///repos quake6 # check out the working copy
cd quake6
start quake6.sln
# work goes here
svn ci -m "Commit message" # Commit our changes
More information about Subversion can be found in the Subversion book, available for free online: http://svnbook.red-bean.com/
"If there is a God, he is a malign thug."
-- Mark Twain
quote:
Original post by yummy_potatoes
Just use build numbers and keep a comment block at the top describing the last few changes and what version the code is. Then, when you need to compare code, just take anything both your code doesn''t have, implement it together, then up the build version.
Ever heard of those new-fangled things called "computers"? They can do all that work for you, you know...
"If there is a God, he is a malign thug."
-- Mark Twain
Topic Locked
This topic has been locked by a moderator. New replies are not allowed.
Sign in to reply to this topic.
Advertisement
