44478

How to add a project to svn server?

Question:

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 <em>BDRAsigurariViata v1.0.zip</em>.

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:

<blockquote> svn: E205000: Try 'svn help' for more info svn: E205000: Too many arguments to import command </blockquote>

Answer1:

<strong>[Tedious mode ON]</strong> Are you trying to add a ZIP archive to a <em>version control</em> repository? Apache Subversion is a <em>version control</em> 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. <strong>[Tedious mode OFF]</strong>

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 <a href="http://www.visualsvn.com/support/svnbook/" rel="nofollow">SVNBook</a>. These introductory topics are highly recommended for novice Apache Subversion users:

<ul><li><a href="http://svnbook.red-bean.com/en/1.8/svn.intro.whatis.html" rel="nofollow">What Is Subversion?</a> </li> <li><a href="http://svnbook.red-bean.com/en/1.8/svn.basic.html" rel="nofollow">Fundamental Concepts</a></li> <li><a href="http://svnbook.red-bean.com/en/1.8/svn.tour.html" rel="nofollow">Basic Usage</a></li> </ul>

As a Windows user, I strongly recommend you to consider <a href="http://tortoisesvn.net/" rel="nofollow">TortoiseSVN</a> client (and it's <a href="http://tortoisesvn.net/docs/release/TortoiseSVN_en/index.html" rel="nofollow">manual</a> in addition to the above docs).

Answer2:

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

Recommend

  • How to run tasks concurrently in asyncio?
  • Pass Events Between QML Objects
  • J frame resizing in an aspect ratio
  • How to capture if current vendor is selected
  • Sending mail with Laravel on shared hosting
  • Multiple hostnames and multiple privileges?
  • Chromedriver works manually but fails when ran from Jenkins Slave
  • Setting up Wordpress and Flask on Apache2
  • Matplotlib: subplot
  • How to see if all values within group are unique/identify those that aren't
  • AVPlayer blank video: playing sound but no video
  • Creating custom UTI for use with airdrop, iOS
  • PostgreSQL in Docker - pg_hba.conf to allow access from host to container
  • Preventing duplicate slashes in file paths in R
  • Human readable URL Scheme for ASP.NET MVC
  • How to open a serial port with pyserial?
  • How to Export CSV file from ASP.NET core
  • Retrieving saved checkboxes' name and values from database
  • How to populate a Mutation for a different Cassandra table in a trigger
  • GitLab runner on Windows and dealing with & %ERRORLEVEL%
  • Keep node's X and Z axes parallel to ground while rotating Y axis to face camera
  • Need to pass object and operation in a function that executes it
  • CSV processing in Hadoop
  • wxPython UltimateListCtrl check (tick) listitem programatically
  • Identifying dates in strings using NLTK
  • Planned Contrasts on glmmTMB
  • async GET request with body from browser
  • jQuery YQL SELECT FROM rss variable
  • Force fading edge on TextView
  • VS2010: Ctrl-PgUp / -PgDown like in browsers
  • what do lines starting with double-slash '//' mean in a .npmrc?
  • How can i use JQuery fadeTo() in IE 7?
  • internal javascript not works in angular2
  • I need a PHP mySQL Login script that directs user to specific URL based on username and password
  • Sample deviceQuery cuda program
  • What does “T extends Junk” mean in a generic class in Java?
  • Compiling multiple source files in Rcpp
  • When to use the tag in the head and body section of a html page? [duplicate]
  • Create an average of multiple excel chart without the data source
  • How to handle div that is created dynamically in a table