Frage

I am trying to add my project folder to a local repository, then upload it to assembla using Turtoise SVN. Here are the steps I took.

  1. Create a new folder named SVN, right click, TurtoiseSVN -> Create a repository here
  2. Create folder structure -> Start Repobrowser
  3. Right click the trunk folder -> Add folder -> Browse to my project folder -> Select folder
  4. Right click at the SVN folder -> tortoiseSVN -> import -> URL of my space

When I check out, I get the same repository, but what I want to do is to specify a trunk, branch and add new features later. The folder structure is not branchs, tags, trunks but there are locks, confs, db,... The commit tab in assembla shows me empty trunk, branch and tags too!

I also want to write the code and commit directly to assembla, ignoring my local repository.

Please specify step by step action or link, I tried Googling but there is not any promising!

Thank you and best regards

War es hilfreich?

Lösung

Subversion is a centralized repository system. That means, whenever you commit to it, you are committing to the hosted repository you have on Assembla.

It seems that you are looking at a locally hosted svn repository if you see "locks, confs, db" as your folder structure. You should be seeing the folder structure that you see in your Assembla Code browser.

You only need to checkout the repository from Assembla to start working, here is a rather outdated video to help you, though it still shows you how to properly connect tortoisesvn to Assembla: http://www.youtube.com/watch?v=IWgTyOOufow

Andere Tipps

I also want to write the code and commit directly to assembla, ignoring my local repository.

You cannot use two repositories in a single subversion working copy.

Your question indicates that your are not very familiar with Subversion, please read the book. That will also answer the question about the folder structure.

  1. You imported wrong folder into Assembla's repo on step 4
  2. Even if you used correct folder (project's folder with sources), you can't use single Working Copy for committing into unrelated repositories

As final note:

You selected wrong tool (use CVCS in DVCS style is bad idea), use wrong methods and in wrong order.

Theoretically you can have and support two mirros of data in two repos (local and remote), but: with some tricks and you must re-made all from scratch

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top