TWiki home TWiki > Know > SVN TWiki webs:
Main | TWiki | Know | Sandbox
Know . { Readme | Changes | Index | Search | Go }
SVN Version Management System

Procedure for Putting Files Under SVN Control (Repository Setup)

sample-svn-repository.jpg
(Example repository setup for research students: Joseph Violi/Wireless Sensor Networks with Mobile Nodes Project)
  1. Ask ECSE IT staff for initial repository creation and access control lists set up (ECSE SubVersion server information)
  2. Let's assume now that the SVN repository created is called jvioli_irwsn.
  3. Prepare a temporary directory /home/jvioli/tmp/jvioli_irwsn.
  4. In this directory, create three subdirectories: tags, branches, trunk (you will not be using tags and branches directories, they are only needed by SVN).
  5. Copy all the required files under the trunk directory.
  6. svn import /home/jvioli/tmp/jvioli_irwsn http://ecsesvn.eng.monash.edu.au/jvioli_irwsn -m "WSN localization algorithms"
  7. The files are now under SVN control. You can delete the temporary directory /home/jvioli/tmp/jvioli_irwsn

Procedure for Using an SVN Repository

We assume here that the repository has been created, its name is jvioli_irwsn, and your login name is jvioli.

Do Once

  1. Create your local working directory on your computer, say /home/jvioli/jvioli_irwsn
  2. cd /home/jvioli (one level up from the jvioli_irwsn directory)
  3. svn checkout http://ecsesvn.eng.monash.edu.au/jvioli_irwsn jvioli_irwsn/ (this command should now fetch copies of all files under jvioli_irwsn directory)

Under the jvioli_irwsn directory you will see three subdirectories, ignore the ones called tags and branches. You will always work under the directory called trunk. To try things, I have placed some files under the trunk/docs/firstarticle directory. Go there and start modifying and uploading stuff to be familiar with the SVN version management system.

Do Whenever You Feel Like to Work

Let's assume that you want to work on your article firstarticle.

  1. cd /home/jvioli/jvioli_irwsn/trunk/docs/firstarticle
  2. svn update (to bring your copy up-to-date with the repository)
  3. Edit stuff
  4. svn update (to make sure that others have/have not changed stuff in the repository after you have checked out)
  5. svn commit (to commit the new versions into the repository)

About SVN and Supporting Tools

--Main.AhmetSekercioglu - 16 Nov 2006

Topic SVN . { Edit | Attach | Ref-By | Printable | Diffs | r1.8 | > | r1.7 | > | r1.6 | More }
Revision r1.8 - 14 Jan 2008 - 02:33 GMT - DanGrimm
Parents: WebHome
Copyright © 1999-2003 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback.