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:

ProjectName
|
--- 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

9 comments:

  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

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

    ReplyDelete
  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.

    ReplyDelete
  4. Nice Post..
    From the last a few days, my printer is showing its incapability of printing any document properly. I am placing the right printing command to my printer machine, but nothing is happening. Once again, my printing machine is refusing to print any document easily. I am getting HP Printer Won’t Print message again and again, so I am totally frustrated just by seeing it. So, it is really a tough task for me. Even I have used technician’s skills but nothing is useful. So please share some useful tips to sort out this error.
    HP Printer Won't Print Black
    Printer Not Printing Black
    Printer Won't Print
    HP Printer Not Printing Black
    Printer Won't Print Black

    ReplyDelete
  5. Take assistance from professional Australian writers using Assignment Help services. Just follow some steps and get the best and productive assignment writing services within your budget in Australia.
    My Assignment Help
    Assignment Help Online
    Online Assignment Help

    ReplyDelete
  6. organizational behavior case study with solution is basically the study of an individual or a group behavior within the respective organization. Organizational behavior case study with solution works for the betterment of the business and directly impacts the productivity of the organization.

    ReplyDelete
  7. Those, who avail online perdisco help Australia, improve their grades by 25% compared to the students who do not take help from professionals assignment experts.

    ReplyDelete
  8. Nice Post..
    Automatic repair is a powerful feature designed to assist users to resolve some computer system problems in windows 10. Often, I will not repair computer system issues and get stuck in a startup repair loop in windows 10 due to some certain causes. I am also a windows 10 PC user and getting the message preparing automatic repair loop. This case is happening with me, hence I want to resolve it on the time. So, I am discussing this concern with you, guys and please share easy tips to solve this problem.

    ReplyDelete