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

copying projects across repositories

From: Faheem Mitha <faheem_at_email.unc.edu>
Date: 2003-04-25 07:19:06 CEST

Dear People,

Another dimwitted beginner question...

I created two repositories, located at /home/faheem/svn and
/home/faheem/svntmp.

I intend the former to serve as my repository proper, and the latter
as a staging area/experimental sandbox.

I created a project called thesis in /home/faheem/svntmp. The files
are all contained in thesis/trunk.

I thought that I would be able to copy this project from the svntmp to
the svn repository by doing

faheem ~/co/thesis/trunk>svn copy file:///home/faheem/svntmp/thesis
                                  file:///home/faheem/svn/thesis
svn: Couldn't find a repository.
svn: Unable to open an ra_local session to URL
svn: svn_ra_local__split_URL: Unable to find valid repository
   (file:///home/faheem)

However, the command appears to think the repository is located at
home/faheem. Note at the time of the command there did not exist any
directory called thesis in svn.

I then created the directory thesis in svn with

faheem ~/co/thesis/trunk>svn mkdir file:///home/faheem/svn/thesis/

I then tried

faheem ~/co/thesis/trunk>svn copy file:///home/faheem/svntmp/thesis/trunk
                                  file:///home/faheem/svn/thesis/trunk

but got a similar error message.

I'm not completely clear why this command does not work. The
Subversion Book does not prescribe the exact rules that govern this
command, but all the examples given for copying between repositories
are for creating branches and tags within one repository.

I'd like to know why the above operation does not work, and if there
is a correct method of doing it.

I realise I can simply check out the files from svntmp and check them
back in to svn, and this is what I will probably do if all else
fails. But it would be nice to have a more direct method.

                                                Faheem.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Apr 25 07:20:50 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.