[svk-devel] Re: RA layer request failed: COPY of

Christophe GUILLON christophe.guillon at st.com
Thu May 10 06:45:10 EDT 2007


	Hi dear SVK maintainers,

I have a blocking problem when synchronizing two distant SVN repositories using SVK. All went well, until recently, when a branch was created by SVN on one side.
Until that time, the synchromization is no more possible and SVK complains about:
RA layer request failed: COPY of ecl/branches/dev-liveness: 404 Not Found (https://codex.cro.st.com)

This is failing using SVK v2.0.1 with subversion bindings 1.4.2:
>svk --version
This is svk, version v2.0.1 (using Subversion bindings 1.4.2)

It was also failing with SVK v2.0.0

Note that a similar problem as already been reported recently in the thread:
http://lists.bestpractical.com/pipermail/svk-devel/2007-March/000759.html

The upgrade to SVK v2.0.1 did not resolve the problem.

You will find below more details on the failure.
Feel free to ask more information if required.

	Thanks,

	-- C.Guillon

Mirrors information:
> svk mirror -l
//mirrors/ecc               https://codex.cro.st.com/svnroot/ecc
//mirrors/lipforge/ecc      svn+ssh://batch.stmicro.lipforge.ens-lyon.fr/svnroot/ecc

After a sync of both mirrors //mirrors/ecc and //mirrors/lipforge/ecc, I do a svk smerge from one to the other, and it causes a failure after some auto-merging of revisions:
 
> svk smerge -I //mirrors/lipforge/ecc //mirrors/ecc
...
===> Auto-merging (6918, 6919) /mirrors/lipforge/ecc to /mirrors/ecc (base /mirrors/ecc:6916).
Merging back to mirror source https://codex.cro.st.com/svnroot/ecc.
RA layer request failed: COPY of ecl/branches/dev-liveness: 404 Not Found (https://codex.cro.st.com)
Please sync mirrored path /mirrors/ecc first.

 At the failing revision on the source mirror (//mirrors/lipforge/ecc, i.e. the svn+ssh://batch... SVN repository), a branch of ecl/trunk was created into ecl/branches/dev-liveness with SVN using a "svn cp ..." 
 The directory hierachy from the root of the repository is like this after the branch creation
/ecl/trunk
/ecl/branches/dev-liveness
/other_project/trunk
...

 Note that this repository does not have trunk & branches directories at the root, but under a subdirectory /ecl. It contains several projects, hence this choice.
 SVK mirrors all projects at once from the "/" root. I don't know if it helps, but I mention this particular choice.

 Note also that when creating a branch from the "other" SVN repository (the destination of the smerge in the failing case) and mirroring in the reverse direction, there is no problem. I don't know if it is helpful or not, I just observed this.  

Below are the log information for the related revisions:
Information on SVK revision 6919:
> svk log --verbose -r 6919 //mirrors/lipforge/ecc
----------------------------------------------------------------------
r6919 (orig r1893):  boissinot | 2007-05-03 11:06:56 +0200
Changed paths:
  A  /mirrors/lipforge/ecc/ecl/branches/dev-liveness (from /mirrors/lipforge/ecc/ecl/trunk:6918)
 
create branch

----------------------------------------------------------------------

Corresponding original SVN verison 1893 (on URI //stmicro.lipforge.ens-lyon.fr):
> svn log --verbose -r1893 svn+ssh://stmicro.lipforge.ens-lyon.fr/svnroot/ecc
------------------------------------------------------------------------
r1893 | boissinot | 2007-05-03 11:06:56 +0200 (Thu, 03 May 2007) | 2 lines
Changed paths:
   A /ecl/branches/dev-liveness (from /ecl/trunk:1892)
 
create branch
 
------------------------------------------------------------------------

Information on SVK revision 6916 (base of merge):
> svk log  -r 6916 //mirrors/ecc
----------------------------------------------------------------------
r6916 (orig r1892):  francois_de-ferriere | 2007-04-27 16:45:18 +0200
 
First implementation of dforest
----------------------------------------------------------------------

Corresponding original SVN version 1892 log (on URI //codex.cro.st.com):
> svn log -r1892 https://codex.cro.st.com/svnroot/ecc
------------------------------------------------------------------------
r1892 | francois_de-ferriere | 2007-04-27 16:45:18 +0200 (Fri, 27 Apr 2007) | 1 line
 
First implementation of dforest
------------------------------------------------------------------------




More information about the svk-devel mailing list