Deprecated: (6.186) preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /afs/athena.mit.edu/course/6/6.186/web_scripts/2011/w/includes/Sanitizer.php on line 1470

Deprecated: (6.186) preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /afs/athena.mit.edu/course/6/6.186/web_scripts/2011/w/includes/Sanitizer.php on line 1470

Deprecated: (6.186) preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /afs/athena.mit.edu/course/6/6.186/web_scripts/2011/w/includes/Sanitizer.php on line 1470
Subversion - Maslab 2011

Subversion

From Maslab 2011

Jump to: navigation, search

Subversion is a version control system (like CVS, only without a decade of cruft). Its main advantage is the fact that it tracks changes to your source code base as a whole together, not to individual files.

Using SVN

  • To check out a working copy of the project from your team's repository, see Repositories.
  • To update your (already checked out) archive: type svn update. This updates to the latest version in the repository, letting you know if you've made any incompatible changes locally.
  • To commit any changes you've made (in all files): svn commit.
  • To see what files have been changed: svn status (M means modified).
  • To add a new file to be version controlled: make the file like usual, then do svn add file.
  • To copy or rename a file: svn cp file1 file2 or svn mv file1 file2. (If you don't use svn here, it won't know that the file has moved!)
  • To get help: svn help or svn subcommand help.

Full documentation: The Subversion Book

Using SVN with Eclipse

Installing Subclipse

Personal tools