Kamran Akhter
Kamran Akhter

Reputation: 513

unable to locate svn directory physically on windows server

I have just successfully installed the subversion in windows server 2008 i can checkout the directory from my client machine svn://ip/test but i am unable to locate test directory on server.

Repository in F:\SvnRepository and conf folder in F:\SvnRepository\conf and binaries are in C:\Program Files (x86)\Subversion
Created directory by executing the command svn mkdir svn://localhost/test.

Upvotes: 0

Views: 1762

Answers (3)

Dilruk
Dilruk

Reputation: 379

If you used the "svnadmin create " normally it is being created at your

system32 folder [ C:\Windows\System32 ].

Upvotes: 0

Mathieu Dumoulin
Mathieu Dumoulin

Reputation: 12244

You can use svn mkdir but it's a bit awkward methods. I use this method only when i really need create a structure online because i don't want to checkout everything. For example:

svn mkdir http://myserver:81/svn/CatalogRepo/newclientcode/
svn mkdir http://myserver:81/svn/CatalogRepo/newclientcode/web/
svn mkdir http://myserver:81/svn/CatalogRepo/newclientcode/web/trunk/
svn mkdir http://myserver:81/svn/CatalogRepo/newclientcode/web/branches/
svn mkdir http://myserver:81/svn/CatalogRepo/newclientcode/web/tags/
svn co http://myserver:81/svn/CatalogRepo/newclientcode/web/trunk/

and then start working with with the new checkedout trunk. Note too, that you only do that if you already got something in http://myserver:81/svn/CatalogRepo/ for example... if the repo is clean, just check it out locally, create your folders, publish the changes ALL AT ONCE and then delete and checkout again the trunk this time.

The creation of directories directly on the server forces you to create a revision everytime you send a command while checking out a directory and doing everything locally allows you to do one big commit, it's much better that way!

Upvotes: 0

phihag
phihag

Reputation: 288210

The svn repository cannot be used like a working copy. Simply check out the repository to a working copy somewhere (with svn checkout - you already did that at least once).

Also, note that using svn mkdir with a URL is an unusual command. Typically, you create the local changes (including new directories) in your working copy (on the client) and then commit them.

Upvotes: 1

Related Questions