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

Re: SVN Copy Command

From: Karl Fogel <kfogel_at_red-bean.com>
Date: Thu, 21 Feb 2008 20:30:00 -0500

"Hatem Jaber" <393_at_7079.net> writes:
> 1) Opened up svn-acl.txt (dir permission file) and added the following:
> [groups]
> team1 = rachel, harry, sally
>
> [ClientA:/]
> @team1 = rw
>
> [ClientA:/branches/mybranch]
> ross = rw
> 2) Subversion.conf - This file points to the "Repositories" directory which
> will be the place I store each repository per project
> 3) SVN-Auth-File - This of course has the U/N and P/W for each of the 4 team
> members
> 4) Opened up a CMD window and typed the following:
> a) mkdir C:\Repositories\ClientA
> b) svnadmin create C:\Repositories\ClientA
> c) svn mkdir http://my.url.com/svn/ClientA/Trunk (message: "Committed
> revision 1")
> d) svn mkdir http://my.url.com/svn/ClientA/Tags (message: "Committed
> revision 2")
> e) svn mkdir http://my.url.com/svn/ClientA/Branches (message: "Committed
> revision 3")
>
> This is as far as I get before receiving any errors. When I try to run the
> following, I get an error:
> svn copy http://my.url.com/svn/ClientA/Trunk http://my.url.com/svn/Branches
> /mybranch -m "Creating mybranch in the Branches directory"
>
> svn: COPY of Branches/mybranch: 400 Bad Request (http://my.url.com)
> svn: Your commit message was left in a temporary file:
> svn: 'svn-commit.8.tmp
>
> I think that I followed the directions from the svn book by using the example
> they showed the long way and the short way of doing it in the Using Branches /
> Creating a Branch in Chapter 4. If anyone out there has had the same issue and
> can offer some advice, I would greatly appreciate it. I am running Windows XP
> Pro, Apache 2.059, Subversion (Latest), and Subclipse (Latest). Everything I
> tried was through the CMD line, I've also tried with subclipse and have had no
> luck. Matter of fact, I get errors when I try to copy from the trunk to a
> branch or just copying back and forth doesn't work at all.
>
> If you need more information, please let me know and I will do my best to
> provide.

It sounds like Hari Kodungallur and Toby Thain have already found the
answer (missing "ClientA" in URL) to the question you asked.

But I'll just add a comment:

You probably should have your "trunk", "tags" and "branches"
directories be all lower-case. Although everything will of course
work with the first letters capitalized, the convention is to have
them all lower-case, and some tools that know about that convention
may work better if you stick to the standard.

Best,
-Karl

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-02-22 02:30:33 CET

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.