4

I have to add a project to the SVN server repository and I would be thankful to get some links or little help on how to do that.

The URL to the SVN repository is https://192.168.1.4:448/svn/BDRAsigViata/. The project is located on the desktop. The path is /Users/name/Desktop and the name of the project is BDRAsigurariViata v1.0.zip.

I tried to add the project this way

 svn import /Users/name/Desktop/BDRAsigurariViata v1.0.zip https://192.168.1.4:448/svn/BDRAsigViata 

But it isn't working. Am I supposed to follow other steps too, in order to be able to do that?

I get the error:

 svn: E205000: Try 'svn help' for more info svn: E205000: Too many arguments to import command 
3
  • Are you trying to add a ZIP archive to a version-control repository? Commented Dec 5, 2012 at 8:15
  • 2
    If you already have a URL, you already have a project. You are asking how to import files into an existing repository. Commented Dec 5, 2012 at 8:19
  • @chitza you're right, but I'm learning right now, I didn't create a product for that company. I doubt that you have been born with all your knowledge. You don't have to be this way. Anyway, I am thankful for your advice. :) Commented Dec 6, 2012 at 10:06

2 Answers 2

15

[Tedious mode ON] Are you trying to add a ZIP archive to a version control repository? Apache Subversion is a version control system, not a simple file storage or Dropbox! It's designed to store and manage your code. Since you use the term "project", I assume that you simply zipped your source code files and wanted to commit them as the archive. That's not how it works. [Tedious mode OFF]

Nevertheless, the command you need is

svn import "C:\Users\name\Desktop\BCRAsigurariViata v1.0.zip" "https://192.168.1.4:448/svn/BCRAsigViata/BCRAsigurariViata v1.0.zip" -m "Commit Message" 

Since you are new to Apache Subversion and VisualSVN Server you definitely should set aside some time to read SVNBook. These introductory topics are highly recommended for novice Apache Subversion users:

As a Windows user, I strongly recommend you to consider TortoiseSVN client (and it's manual in addition to the above docs).

Sign up to request clarification or add additional context in comments.

1 Comment

I'm really really thankful for your answer. I struggled a lot and now it worked. :)
0

Your command looks strange with the backslash. The first one and the one in front of the server URL looks like they don't belong. Also I believe you need to escape the spaces in your path. (but I wouldn't put the last file, you want a directory).

I would write this command:

svn import /Users/name/Desktop https://192.168.1.4:448/svn/BCRAsigViata 

except you might not want to put your whole "Desktop folder".

5 Comments

I tried your way and the project doesn't appear on the svn server. In the terminal I get this --This line, and those below, will be ignored-- A . -uu-:---F1 svn-commit.3.tmp All L1 (Fundamental)------------------------- Loading image...done
what do you see now on your svn server? since apparently some things where commited
There is no change made. I can see the same folder iOS and nothing else.
Sorry, I can't say much more without looking at the exact data. Did you try using a graphical client?
I didn't use one. Could you recommend one for me? :)

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.