You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Alexis Huxley <ah...@gmx.net> on 2002/05/01 20:06:58 UTC

'commit' on different host to 'co', working copy on NFS

Hi again :-)

I 'co'ed my stuff from the same host I'm running apache on, using a
uri http://localhost/svn/alexishp, and I 'co'ed it to under my home.

Then I moved to a different computer, made a change and tried to 
commit it. But I got the error message:

svn_error: #21088 : <RA layer request failed>
  Commit failed (details follow):

svn_error: #21088 : <RA layer request failed>
  OPTIONS request failed on /svn/alexishp/common

svn_error: #21088 : <RA layer request failed>
  OPTIONS of /svn/alexishp/common: could not connect to server

Of course, when I go back to the original host (only on the other
side of the room in this case :-) then it all works fine.

I dare say if I'd used the FQHN in the first place rather than
'localhost' it would have worked.

I couldn't see any option on the svn man page for overriding the
repository (that the working copy is caching, right?). 

Alexis

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: 'commit' on different host to 'co', working copy on NFS

Posted by Ben Collins-Sussman <su...@collab.net>.
Alexis Huxley <ah...@gmx.net> writes:

> I couldn't see any option on the svn man page for overriding the
> repository (that the working copy is caching, right?). 

Yup, the URLs are attached to each item within .svn/entries.

The answer to your problem is "sed".  :-)


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: 'commit' on different host to 'co', working copy on NFS

Posted by Peter Davis <pe...@pdavis.cx>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wednesday 01 May 2002 13:15, cmpilato@collab.net wrote:
> 1. move the working copy back to the machine.
> 2. use `svn switch' to switch your working copy to the *external url*
> 3. move the working copy back out to wherever you wanted it.
>
> NOTE:  This is not SUPPOSED to work...but currently it does. :-)  A
> Happy Bug.

Why is this not supposed to work?  It seems like it should stay that way.  
When I first started my repository, I did it using file://whatever/repos.  
Later I got the server working, and (not knowing about 'svn switch') cleared 
my WC and re-checked-out.  This would have been a very happy thing for me to 
have, and I hope that this 'bug' will not be fixed :)

- -- 
Peter Davis
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD4DBQE80FOrNSZCJx7tYycRAkFNAJ9OdL9pukze8T0Vo0hZ9TZTf9fBRACUCFsN
EtdxsgkJrQQNLBgOmrrAZA==
=NfZD
-----END PGP SIGNATURE-----


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: 'commit' on different host to 'co', working copy on NFS

Posted by cm...@collab.net.
Alexis Huxley <ah...@gmx.net> writes:

> Hi again :-)
> 
> I 'co'ed my stuff from the same host I'm running apache on, using a
> uri http://localhost/svn/alexishp, and I 'co'ed it to under my home.
> 
> Then I moved to a different computer, made a change and tried to 
> commit it. But I got the error message:
> 
> svn_error: #21088 : <RA layer request failed>
>   Commit failed (details follow):
> 
> svn_error: #21088 : <RA layer request failed>
>   OPTIONS request failed on /svn/alexishp/common
> 
> svn_error: #21088 : <RA layer request failed>
>   OPTIONS of /svn/alexishp/common: could not connect to server
> 
> Of course, when I go back to the original host (only on the other
> side of the room in this case :-) then it all works fine.
> 
> I dare say if I'd used the FQHN in the first place rather than
> 'localhost' it would have worked.
> 
> I couldn't see any option on the svn man page for overriding the
> repository (that the working copy is caching, right?). 

1. move the working copy back to the machine.
2. use `svn switch' to switch your working copy to the *external url*
3. move the working copy back out to wherever you wanted it.

NOTE:  This is not SUPPOSED to work...but currently it does. :-)  A
Happy Bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org