Svn: Difference between revisions

From Wildsong
Jump to navigationJump to search
Brian Wilson (talk | contribs)
mNo edit summary
Brian Wilson (talk | contribs)
mNo edit summary
Line 1: Line 1:
[http://svnbook.red-bean.com/en/1.1/index.html The turtle book]
Online copy of [http://svnbook.red-bean.com/en/1.1/index.html The turtle book]
 
== iMap lives here ==


The repository for iMap is at svn://svn.wildsong.biz/var/lib/svn/iMap
The repository for iMap is at svn://svn.wildsong.biz/var/lib/svn/iMap
This is not permanent... I intend to have a web browseable archive soon.
This is not permanent... I intend to have a web browseable archive soon.
Use Tortoise SVN with Windows to access the above URL to checkout code.


==Creating a new project==
==Creating a new project==

Revision as of 23:27, 10 November 2005

Online copy of The turtle book

iMap lives here

The repository for iMap is at svn://svn.wildsong.biz/var/lib/svn/iMap This is not permanent... I intend to have a web browseable archive soon.

Use Tortoise SVN with Windows to access the above URL to checkout code.

Creating a new project

# create the repository
svnadmin create /repository/path
# set up source files and import them into new repository
mkdir /path/to/source/tree
cd /path/to/source/tree
mkdir branches tags trunk
cp -r source_code trunk
svn import /path/to/source/tree file:///repository/path -m initial_import

# destroy temp copy of source files and checkout svn controlled copy
cd ~/src
rm -rf /path/to/source/tree
svn checkout file:///repository/path project_name
cd project_name

Normal day to day stuff

Add a file: svn add filename

Commit some changes: svn commit filename

Update from server: svn update