[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Unable to connect to SVN repository

From: Ryan Schmidt <subversion-2012c_at_ryandesign.com>
Date: Mon, 17 Sep 2012 16:04:23 -0500

On Sep 17, 2012, at 10:16, "Ahmed, Omair (GE Oil & Gas)" wrote:

> I created a directory called "Sandbox" which contains two subdirs and
> some files. I then imported the "Sandbox" directory. However, I was
> expecting to SVN to import the "Sandbox" directory also which it didn't.
> Is that by design? How can I do an import and get the directory
> structure that I expect?

Yes, it's by design.

http://svnbook.red-bean.com/en/1.7/svn.tour.importing.html#svn.tour.importing.import

If you want the directory "Sandbox" to also end up in the repository, you would need to say so in the URL, e.g.:

svn import /local/path/to/Sandbox svn://X.XX.XXX.XXX/Sandbox_SVN_Repo/Sandbox

For some circumstances, you may find using the "in-place import" method to be more straightforward than the "svn import" method:

http://subversion.apache.org/faq.html#in-place-import
Received on 2012-09-17 23:05:02 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.