On Tue, 2004-07-27 at 17:29, John E. Fritz wrote:
> Hello,
>
> I'm a newbie to Subversion, so forgive me if my question is obvious. I've
> spent a few hours looking at the list archives, though, and I still can't
> figure this out. Basically, I can create a repository, checkout a local
> copy, commit, etc - everything except creating a branch from a local copy.
> My setup is as follows:
>
> Version: svn-1.0.6 for Win32 running on Apache 2.0 / Windows 2000 Server
> Apache is running under user account "Apache" and this account has
> read/write permissions to the repository directory.
> The modules mod_dav and mod_dav_svn are loaded and seem to be working.
> The following location tag is in the httpd.config:
>
> <Location /svn/test_svn>
> DAV svn
> SVNParentPath c:\SVN_REPOS\test_svn
> AuthType Basic
> AuthName "Subversion repositories"
> AuthUserFile passwd
> Require valid-user
> </Location>
>
> When I try to create a branch typing the following at the command prompt:
>
> c:\Inetpub\wwwroot>svn copy http://localhost:81/svn/test_svn/trunk
> http://localhost:81/svn/test_svn/branches/test_branch1
You're using SVNParentPath, which means that apache expects
C:\SVN_REPOS\test_svn to be a directory which *contains* a whole bunch
repositories. So your 'svn copy' command makes no sense, unless you
happened to 'svnadmin create' a repository called 'trunk' within the
'test_svn' directory. I'm sure you didn't do that, though. :-)
Assuming that you did an 'svnadmin create c:\SVN_REPOS\test_svn', then
'test_svn' is a lone repository... so you want to use the SVNPath
directive, not SVNParentPath.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jul 28 00:37:40 2004