Quickstart Guide: Difference between revisions

From ITTC Help
Jump to navigation Jump to search
No edit summary
No edit summary
Line 45: Line 45:
== Additional Resources ==
== Additional Resources ==


You can find extensive documentation in the [[svnbook | http://svnbook.red-bean.com]]
You can find extensive documentation in the [[hhttp://svnbook.red-bean.com | svnbook]]

Revision as of 11:49, 21 September 2006

Retrieving Software from the SVN Server

To retrieve, or check out, the software, use one of the following commands:

svn co https://subversion.ittc.ku.edu/<repo name>/pathtofiles

Adding, Moving, and Removing Files

To add a file, run the following command:

svn add filename ENTER

To move a file, run the following command:

svn move filename newfilename ENTER

To remove a file, run the following command:

svn remove filename ENTER

Setting up Environment

Before you checkin your changes, you need to set the SVN_EDITOR environment variable:

export SVN_EDITOR=vi

Checking Your Changes In

To commit your changes to the server for everyone to see, run the following command:

svn commit ENTER

Updating the Software

To update your local copy of the source code, run the following command:

svn update ENTER

Creating Patch Files

To prepare a patch file, run the following command:

svn diff >filename.patch ENTER

Additional Resources

You can find extensive documentation in the svnbook