Debugging - Subversion (SVN)
Subversion is the versioning system we use to keep all of our areas files and code
organized. You can use the tortoise SVN client to connect to the appropriate repositories,
but you'll need a login and password from Shevarash.
Tortoise SVN Client
Areas Repository:
http://www.torilmud.org/svn/repos/toril/zones/trunk
You'll probably only need 2 commands:
- SVN Commit
This copies files TO the repository.
- SVN Update
This copies files FROM the repository.
There are 3 locations we have to deal with.
- Repository
The repository holds the most recent copy. When you commit your files they
get saved here. When you update they come from here. However this copy is
otherwise invisible.
- Testbox
The testbox copy of the files is what loads on the test mud. If your PC is
different or the repository is different it won't show up for testing.
- Your PC
Obviously this is your local copy of the files.
Thus, the steps for putting a new change in are as follows,
- Make the change
- SVN commit from where you made the change (usually your PC)
- SVN update on testbox
- Reboot
You can run into conflicts if someone else changes the repository version and then
you change your local version and try to commit it. This is a real PITA, so try to
always do an SVN update on files before you edit them, just in case.
Also, keep track of your commits so when someone does a move for you to put everything
on main you know what #s to put in and what's going in.