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

RE: svn: Path <> does not exist in revision 0

From: Rob Hubbard <Rob.Hubbard_at_celoxica.com>
Date: 2006-09-26 10:16:32 CEST

Hello Dick,

Notes below:

-----Original Message-----
From: Dick Heth [mailto:dheth@martingalecorp.com]
Sent: 25 September 2006 22:10
To: users@subversion.tigris.org
Subject: svn: Path <> does not exist in revision 0

I have been using subversion and tortoise for the last few months on some development and have been very happy with it. It's like CVS on steroids.
Last week I needed to strike a TAG for an alpha release of some software and I have run into a problem. I am unable to copy my code to my tags directory. I thought I could isolate this on another server but I am still running into the same error "svn: Path 'file:///var/repos/insite/trunk/*' does not exist in revision 0"
Below are the steps I took to isolate this:
> umask 002
> svnadmin create /var/repos/insite
[Rob] This creates a repository
> svnadmin create /var/repos/insite/trunk
[Rob] This creates another separate repository - not a folder within the existing repository
> svnadmin create /var/repos/insite/tags
> svnadmin create /var/repos/insite/branches
[Rob] These create third and fourth repositories; perhaps "svn add" is what you want (but see further notes below)
> svn import insite file:///var/repos/insite/trunk -m 'testing 123'
> svn copy file:///var/repos/insite/trunk file:///var/repos/insite/tags/alpha-test -m 'alpha test'
            svn: Path 'file:///var/repos/insite/trunk/*' does not exist in revision 0
I am able to checkout the "trunk" and modify and commit code but it just won't copy to the tags library.
[Rob] You can't copy files between different repositories.

 Can someone please give me some suggestions on what I am doing wrong?

There are many ways to begin a repository. I'd suggest the following:
(1) Use "svnadmin create" (once) much as you have to create an empty repository (at revision 0): so that would be something like "svnadmin create /var/repos"
(2) Locally, create your desired repository layout with trunk, tags, branches and any project directories as desired
(3) Use "svn import" on (2) to bring those directories into the repository (revision 1)
(4) Use "svn checkout" from the trunk in the repository to create a working copy of the empty trunk
(5) Locally, set up your source files in your working copy.
(6) Tell SVN about them using "svn add"
(7) Commit these to the repository (revision 2) with "svn commit"
Now trunk and tags are in the same repository, and the "svn copy" should work.
Hope that helps,
This message has been checked for all known viruses by the MessageLabs Virus Scanning Service, on behalf of Celoxica Ltd.
This email and any files transmitted with it are confidential and 
may be legally privileged. It is intended solely for the use of the 
individual or entity to whom it is addressed. If you have received 
this in error, please contact the sender and delete the material 
immediately. Whilst this email has been swept for viruses, you 
should carry out your own virus check before opening any 
attachment. Celoxica Ltd accepts no liability for any loss or 
damage which may be caused by software viruses or interception 
or interruption of this email.
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Sep 26 10:17:21 2006

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