Programming
Workshop

Spring 2006
course
navigation

feb14

Version Control Systems

Here's a sample dialog.
$ cd ~ $ pwd /home/mahoney $ svn help $ svn info Path: . URL: file:///usr/local/subversion/home/mahoney ... $ mkdir test_svn $ svn status test_svn ? test_svn This means that subversion doesn't know about this. $ svn add test_svn Now we schedule it to be added to the repository. $ svn status test_svn A test_svn It's schedule to be added. $ svn commit -m "Testing svn." Adding test_svn Committed revision 495. $ cd test_svn $ cat > file.txt This is some sample text in a file. And here's the marker: $Id: feb14.wiki 2629 2006-08-02 20:11:31Z mahoney $ (type control-d) $ ls file.txt $ svn add file.txt $ svn commit -m "more tests" $ more file.txt This is some sample text in a file. And here's the marker: $Id: file.xt 496 2006-02-14 16:22:23Z mahoney$ $ other svn commands to check out $ svn help update $ svn help revert $ svn help mkdir $ svn help mv $ svn help checkout
Are we having fun yet?
I also notice that there's a "Subclipse" plugin for Eclipse; http://subclipse.tigris.org ... though it doesn't understand the file:/// access that I'm using for the local cs repository.
http://cs.marlboro.edu/ courses/ spring2006/programming_workshop/ notes/ feb14
last modified Thursday August 31 2006 2:26 am EDT