Okay. The problem actually has to do with the import. I read in the subversion book that it does this.
Code:
/tmp/myproject/branches/
/tmp/myproject/tags/
/tmp/myproject/trunk/
foo.c
bar.c
Makefile
That it like a project. And then
Code:
$ svn import /tmp/myproject file:///path/to/repos/myproject -m "initial import"
Adding /tmp/myproject/branches
Adding /tmp/myproject/tags
Adding /tmp/myproject/trunk
Adding /tmp/myproject/trunk/foo.c
Adding /tmp/myproject/trunk/bar.c
Adding /tmp/myproject/trunk/Makefile
…
Committed revision 1.
$
This is very much like what I would like to do, except mine is like '.......... no you don't'. I have a project "H:\VS2005\Projects\Hello World" and I want to import it. I enter the command:
Code:
h:/subversion/bin/svn.exe import "H:\Visual Studio 2005\Projects\Hello World" "f
ile:///h:/repository/Hello World" -m "Test."
Noting that "h:/repository" is the repository, and I want to put it in it's own directory "h:/repository/Hello World". That command fails with these errors.
Code:
svn: Unable to open an ra_local session to URL
svn: Unable to open repository 'file:///h:/repository/Hello%20World'
svn: Can't open file 'h:\repository\Hello World\format': The filename, directory
name, or volume label syntax is incorrect.
Yeah, fine. But if I just do
Code:
h:/subversion/bin/svn.exe import "H:\Visual Studio 2005\Projects\Hello World" "f
ile:///h:/repository/" -m "Test."
Then it does not make a directory for the project inside the repository and I get all confused. It will make the tree:
Code:
file:///h:/repository/Hello World/
file:///h:/repository/Hello World.ncb
file:///h:/repository/Hello World.sln
file:///h:/repository/Hello World.suo
file:///h:/repository/debug/
When I would rather it be
Code:
file:///h:/repository/Hello World/Hello World/
file:///h:/repository/Hello World/Hello World.ncb
file:///h:/repository/Hello World/Hello World.sln
file:///h:/repository/Hello World/Hello World.suo
file:///h:/repository/Hello World/debug/
Like: repository/project_name/files in project. Question mark?