Re: SVN::Mirror::Ra::MirrorEditor error?
Martin Blom <martin <at> blom.org>
2005-06-14 21:08:21 GMT
Chia-liang Kao wrote:
> On Fri, May 06, 2005 at 07:03:30PM +0200, Martin Blom wrote:
>
>>Chia-liang Kao wrote:
>>
>>>>>On Wed, May 04, 2005 at 05:52:45PM +0200, Martin Blom wrote:
>>>
>>>
>>>
>>>With some ktrace help, I find the libsvn_subr's io_remove_dir is missing
>>>one entry, so the rmdir(2) call failed. And this looks very familiar
>>>to me.
>>>
>>>can you try recompile svn with the MACOSX_REWINDDIR_HACK thing
>>>found in subversion/libsvn_subr/io.c and see if that helps?
>>
>>Sorry, same behaviour as before. It stops/crashes on
>>
>
>
> Can you send me strace output on syscalls?
Sorry for my late reply; I've been away from coding for a while. I've
retried with SVK 1.00 as shown below. As before, at revision 284 it just
stops (without any error messages at all) after which the repository is
messed up.
[martin <at> lisa ~]$ rm -rf .svk [martin <at> lisa ~]$ svk depotmap --init
Repository /home/martin/.svk/local does not exist, create? (y/n)y
[martin <at> lisa ~]$ svk mirror svn+ssh://svn.berlios.de/svnroot/repos/arp2
//mirror/arp2
Committed revision 1.
[martin <at> lisa ~]$ strace -o /tmp/svk-mirror-2.log svk sync //mirror/arp2
Syncing svn+ssh://svn.berlios.de/svnroot/repos/arp2
Retrieving log information from 1 to 658
Committed revision 2 from revision 1.
[...]
Committed revision 284 from revision 290.
[martin <at> lisa ~]$ strace -o /tmp/svk-mirror-3.log svk sync //mirror/arp2
Waiting for mirror lock on //mirror/arp2: lisa.datan.blom.org:16126.
Waiting for mirror lock on //mirror/arp2: lisa.datan.blom.org:16126.
Waiting for mirror lock on //mirror/arp2: lisa.datan.blom.org:16126.
[...]
[martin <at> lisa ~]$ svn --version
svn, version 1.1.4 (r13838)
compiled May 6 2005, 18:28:50
Copyright (C) 2000-2004 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
This product includes software developed by CollabNet
(http://www.Collab.Net/).
The following repository access (RA) modules are available:
* ra_dav : Module for accessing a repository via WebDAV (DeltaV) protocol.
- handles 'http' schema
- handles 'https' schema
* ra_local : Module for accessing a repository on local disk.
- handles 'file' schema
* ra_svn : Module for accessing a repository using the svn network protocol.
- handles 'svn' schema
[martin <at> lisa ~]$ svk -v
This is svk, version 1.00.
[martin <at> lisa ~]$
I have uploaded the strace logs to http://martin.blom.org/tmp/svk/
(about 1.5 MB compressed).
--
--
---- Martin Blom --------------------------- martin <at> blom.org ----
Eccl 1:18 http://martin.blom.org/