Thursday, April 1, 2010

Importing a new project into Subversion

Every once in a while I have to import a new project into subversion. Invariably I end up having to remind myself of how to do this. Therefore as an easy way to find this I thought I would put it up on my blog. If anybody else finds it useful then all the better.

Firstly create your project in a structure similar to the following:

--- trunk
--- tags
--- branches

The trunk, tags and branches are all folders. Place the code you want to add into the trunk folder.

Then enter the following:

svn import ProjectName file:///path/to/repository/ProjectName -m "Initial sources"

This is the Unix/Mac version if you are working on Windows then you will need something more along the lines of:

svn import ProjectName file:///path/to/repository/ProjectName -m "Initial sources"

Once added I think check out a version to actually work against so in this case

svn co file:///path/to/repository/ProjectName/trunk ProjectName


  1. The class today has become the happiest person I managed to find a part-time job at home and I really get interesting? fine casino slot play you can not thank

  2. Nice blog! Full of informative ideas. Thank you, keep sharing.
    web design company in chennai

  3. This type of essay writing is like painting a picture. The writer paints a detailed and vivid picture through his/her words. You might have to describe the person, place, object, memory or some special significance. The main aim of descriptive essays is to convey a deeper meaning to the readers. essay writer can guide you to write descriptive essays.

    Our online plagiarism checker tool also reflects our transparency as students can easily check for accuracy of the tasks our writers provide. The tool also helps students become acquainted with what constitutes plagiarism.