Subject: | add_directory fails |
Hi,
I want to congratulate to all the contributors of SVK, it's a great software, and exactly what I was looking for. I have, however, the following problem:
I want to mirror an entire subversion tree. I issued the command:
Show quoted text
> svk mirror file:///local/koster/subversion/foo /test/mirror
> svk sync /test/mirror
and got the output:
-----------------------------------------------------------------------
Committed revision 2 from revision 1.
[...]
Committed revision 13 from revision 12.
Committed revision 14 from revision 13.
Skipped revision 14.
Oh no, no more exceptions! add_directory() failed. at /usr/local/packages/perl-5.8.7/lib/site_perl/5.8.7/SVN/Mirror/Ra.pm line 1044.
--------------------------------------------------------------------------
The path /local/koster/subversion/foo is the path to the root of the subversion repository, so it is self-contained. The subversion repository was created by converting a CVS repo with cvs2svn. The dump log of cvs2svn for the affected revision and the one before it is
--------------------------------------------------------------------
Revision-number: 13
Prop-content-length: 145
Content-length: 145
K 10
svn:author
V 5
aradi
K 8
svn:date
V 27
2004-04-03T16:21:46.000000Z
K 7
svn:log
V 45
Import of the directrory structure for DFTB.
PROPS-END
Revision-number: 14
Prop-content-length: 162
Content-length: 162
K 10
svn:author
V 5
aradi
K 8
svn:date
V 27
2004-04-03T16:21:46.000000Z
K 7
svn:log
V 62
This commit was manufactured by cvs2svn to create tag 'START'.
PROPS-END
Node-path: cvstags/START
Node-action: add
Node-copyfrom-rev: 13
Node-copyfrom-path: /cvsbranches/DFTB_DEVEL
-----------------------------------------------------------------------
(cvs2svn was made in two steps. At first, I created a dump of the cvs repository, then I created a directory in the subversion repository with
Show quoted text> svn mkdir file:///local/koster/subversion/foo/srcdftb
and then I loaded the dump into subversion, but with
file://local/koster/subversion/foo/srcdftb as parent directory. Therefore, the paths in the dump do not contain the "srcdftb/" prefix)
It looks, as if SVK had problems to create srcdftb/cvstags/START, and I wonder, why. The cvstags directory exists:
Show quoted text> svk list /test/mirror/srcdftb/
cvsbranches/
cvstags/
cvstrunk/
Show quoted text> svk list /test/mirror/srcdftb/cvstags
(Returns nothing -> cvstags is empty)
If I mirror the repository (after deleting the old mirror) beginning with the first revision after the affected one
Show quoted text> svk sync /test/mirror -s 15
then everything is fine.
I hope this helps a little bit in improving this great software.
Cheers,
Bálint