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

Re: commits not working with SVNParentPath

From: Eugene Eric Kim <eekim_at_blueoxen.org>
Date: 2004-02-19 11:08:18 CET

On Thu, Feb 19, 2004 at 04:54:55AM -0500, John Szakmeister wrote:

> > When I configure Subversion using SVNPath to specify the absolute path
> > of the repository, everything works beautifully. However, when I
> > switched to SVNParentPath, things go awry. Checkout works okay, but
> > commits fail with the following message:
> >
> > svn: Commit failed (details follow):
> > svn:
> > Could not open the requested SVN filesystem
>
> What was your command line to checkout the repository? I'm assumming had
> setup http://my.server.com/ as the repository itself (using SVNPath). The
> you changed the configuration to use SVNParentPath? If so, then the location
> of the repository has moved. Assuming the name of the repo was test, the new
> URL should be http://my.server.com/test. You need to use svn switch
> --relocate to rewrite the URL for the working copy.

  svn co http://my.server.com/test

I deleted the old working copy and started from scratch before I did
this.

> > What I find very strange about the error message is the first line;
> > Subversion is trying to access a file in the parent path that doesn't
> > exist. This same behavior was reported in the other message I cited
> > above.
>
> If you changed the directive and nothing else, then I'd expect to see this as
> an error. Your working copy still thinks the repository is in the old
> location.

I don't think this is the problem, as I'm using a fresh working copy.

> > * Parent path is /data/svn/repos. I tried both leaving this directory
> > alone, and also creating a repository in it using svnadmin; both
> > resulted in the same error. The repository below is /data/svn/test.
> > I created this using svnadmin.
>
> Uh, do you mean the repository below is '/data/svn/repos/test'?

That's right; sorry.

> If what I've said doesn't provide any insight, let me know. I've currently
> got several repositories hosted at home using SVNParentPath and 16 at work...
> none of which have ever had problems in this configuration.

Did you create a repository in the parent directory using svnadmin
create? Based on my understanding of how this all works, it shouldn't
be necessary, but the docs are a little unclear on this. Neither way
works for me in any case.

-Eugene

-- 
Was I helpful?  Let others know.
http://svcs.affero.net/rm.php?r=eekim&p=EnablingOnlineCommunities
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Feb 19 11:08:36 2004

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.