You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Norbert Gruener <no...@MPA-Garching.MPG.DE> on 2003/06/02 07:01:19 UTC

Problems with svn copy ...

Hello,

I am new to Subversion and I am trying to find my way from CVS to SVN.

I am using svn, version 0.23.0 (r5962) which I have installed from the tarball
subversion-0.23.0.tar.gz.  I am running on Linux (2.4.18).

I am trying to copy an existing repository without any success.  First
I have tried it locally and then with the server "svnserve". These
are my commands

   ~>svnadmin create repos/abc
   ~>svnadmin create repos/xyz
   ~>svn import file:///home/nog/repos/abc ./tmp -m test
   Adding         tmp/his-store

   Committed revision 1.
   ~>svn copy file:///home/nog/repos/abc file:///home/nog/repos/xyz -m test
   subversion/libsvn_ra_local/ra_plugin.c:225: (apr_err=180000)
   svn: Couldn't find a repository.
   svn: Unable to open an ra_local session to URL
   subversion/libsvn_ra_local/split_url.c:153: (apr_err=180000)
   svn: svn_ra_local__split_URL: Unable to find valid repository
      (file:///home/nog/repos)


   ~>svn copy file://localhost/home/nog/repos/abc file://localhost/home/nog/repos/xyz -m test 
   subversion/libsvn_ra_local/ra_plugin.c:225: (apr_err=180000)
   svn: Couldn't find a repository.
   svn: Unable to open an ra_local session to URL
   subversion/libsvn_ra_local/split_url.c:153: (apr_err=180000)
   svn: svn_ra_local__split_URL: Unable to find valid repository
      (file://localhost/home/nog/repos)



   ~>svnserve -d
   ~>svn copy svn://localhost/home/nog/repos/abc svn://localhost/home/nog/repos/xyz -m test
   subversion/svnserve/serve.c:917: (apr_err=210005)
   svn: Couldn't find a repository
   svn: No repository found in 'svn://localhost/home/nog/repos'


Did I miss anything in the documentation ?  Any help would be
appreciated. Thank your very much in advance.

Cheers,

Norbert
-- 
Ceterum censeo          | PGP encrypted mail preferred.
Redmond esse delendam.  | PGP Key at www.MPA-Garching.MPG.de/~nog/

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

Re: Problems with svn copy ...

Posted by Norbert Gruener <no...@MPA-Garching.MPG.DE>.
Hi Garrett,

On Mon, Jun 02 2003, Garrett Rooney wrote:
> 
> On Monday, June 2, 2003, at 03:01 AM, Norbert Gruener wrote:
> 
> >I am trying to copy an existing repository without any success.  First
> >I have tried it locally and then with the server "svnserve". These
[snipped]
> >
> >Did I miss anything in the documentation ?  Any help would be
> >appreciated. Thank your very much in advance.
> 
> You're copy must be within the same repository, you cannot (yet) copy 
> between two separate repositories.  If you want to be able to copy back 
> and forth between two projects, you'll need to make sure they are 
> within one repository.

thank you for clarifying that.  From the documentations I did not
realize that it must be the same repository.  Now it works   :-))

Thank you for your help,

Norbert
-- 
Ceterum censeo          | PGP encrypted mail preferred.
Redmond esse delendam.  | PGP Key at www.MPA-Garching.MPG.de/~nog/

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

Re: Problems with svn copy ...

Posted by Garrett Rooney <ro...@electricjellyfish.net>.
On Monday, June 2, 2003, at 03:01 AM, Norbert Gruener wrote:

> Hello,
>
> I am new to Subversion and I am trying to find my way from CVS to SVN.
>
> I am using svn, version 0.23.0 (r5962) which I have installed from the 
> tarball
> subversion-0.23.0.tar.gz.  I am running on Linux (2.4.18).
>
> I am trying to copy an existing repository without any success.  First
> I have tried it locally and then with the server "svnserve". These
> are my commands
>
>    ~>svnadmin create repos/abc
>    ~>svnadmin create repos/xyz
>    ~>svn import file:///home/nog/repos/abc ./tmp -m test
>    Adding         tmp/his-store
>
>    Committed revision 1.
>    ~>svn copy file:///home/nog/repos/abc file:///home/nog/repos/xyz -m 
> test
>    subversion/libsvn_ra_local/ra_plugin.c:225: (apr_err=180000)
>    svn: Couldn't find a repository.
>    svn: Unable to open an ra_local session to URL
>    subversion/libsvn_ra_local/split_url.c:153: (apr_err=180000)
>    svn: svn_ra_local__split_URL: Unable to find valid repository
>       (file:///home/nog/repos)
>
>
>    ~>svn copy file://localhost/home/nog/repos/abc 
> file://localhost/home/nog/repos/xyz -m test
>    subversion/libsvn_ra_local/ra_plugin.c:225: (apr_err=180000)
>    svn: Couldn't find a repository.
>    svn: Unable to open an ra_local session to URL
>    subversion/libsvn_ra_local/split_url.c:153: (apr_err=180000)
>    svn: svn_ra_local__split_URL: Unable to find valid repository
>       (file://localhost/home/nog/repos)
>
>
>
>    ~>svnserve -d
>    ~>svn copy svn://localhost/home/nog/repos/abc 
> svn://localhost/home/nog/repos/xyz -m test
>    subversion/svnserve/serve.c:917: (apr_err=210005)
>    svn: Couldn't find a repository
>    svn: No repository found in 'svn://localhost/home/nog/repos'
>
>
> Did I miss anything in the documentation ?  Any help would be
> appreciated. Thank your very much in advance.

You're copy must be within the same repository, you cannot (yet) copy 
between two separate repositories.  If you want to be able to copy back 
and forth between two projects, you'll need to make sure they are 
within one repository.

-garrett


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