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

SVN copy issue

From: Yanghui Bian <ybi_at_vitesse.com>
Date: 2003-07-02 19:47:57 CEST

I would like to put it here for discussion and if it is really regarded
as an issue, please

tell me how to enter it in the SVN issue list. Thanks.

SVN 24.2 - Apache 2.0.46 - Windows XP - Cywin

I try to use SVN COPY's WC->URL as stated in the help

 WC -> WC Copy and schedule an item for addition (with history).

 WC -> URL Immediately commit a copy of WC to URL.

 URL -> WC Check out URL into WC, and schedule it for addition.

 URL -> URL Complete server-side copy. This is usually used to branch
and tag.

 

I have the layout in the repository as

  repos/tags

  repos/trunk/westlake

First check out westlake from repository to the tmp directory

$ cd /tmp

$ svn co http://p1/repos/trunk/westlake

 

Under directory /tmp, now I got westake. I did some changes and want it
to be in the repository.

$ svn copy westlake http://p1/repos/tags/westlake_001

But failed with the below error:

svn: Path is not a working copy directory

svn: '/tmp' is not a working copy

SVN failed to go into the working directory and copy it to the
repository.

 

I did another try:

checkout http://p1/repos/trunk under /tmp

$ cd /tmp

$ svn co http://p1/repos/trunk

$ cd /tmp/trunk

$ svn copy westlake http://p1/repos/tags/westlake_001

It works.

Though this is the way to work around, it is still very annoying to
check out bunches of projects under trunk.

 

regards,

ybi
Received on Wed Jul 2 19:48:51 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.