[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: Toby Thain <toby_at_telegraphics.com.au>
Date: Thu, 21 Feb 2008 14:59:54 -0600

On 21-Feb-08, at 2:25 PM, Hatem Jaber wrote:

> Hi,
>
> I apologize for resending this if anyone has already received it. I
> sent this prior to subscribing for the service and maybe that's why
> I haven't received a response yet. I am really having trouble with
> svn copy, not sure what i'm doing wrong, but i'll do my best to
> explain how I got there.
>
> 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"

Your destination URL is missing "ClientA" component.

--Toby

>
> 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.
>
> Thanks,
>
> H Jaber
Received on 2008-02-22 02:15:04 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.