Never been to DZone Snippets before?

Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

About this user

James Robertson http://www.r0bertson.co.uk

« Newer Snippets
Older Snippets »
Showing 1-1 of 1 total  RSS 

Subversion basic commands Part II

This code shows how to checkout, commit, and verify the changes to a project file in subversion. See also Subversion basic commands part 1 http://urltea.com/1urp . The Subversion Online book can be read here http://svnbook.red-bean.com/

# get the project to edit
svn checkout http://mysite.com/svn/my-repository/my-project

#add a new file to the project
svn add feed/changelog

# commit the changes to the repository
svn commit feed

# check to see that the actual changes have been committed.
svn cat 
http://mysite.com/svn/my-repository/my-project/trunk/gwd/feed/gwd.rb

#remove the local project files
rm my-project -Rf

#get the project files without version control
svn export http://mysite.com/my-repository/my-project/trunk/gwd

« Newer Snippets
Older Snippets »
Showing 1-1 of 1 total  RSS