bzr-svn 0.3

Jelmer Vernooij jelmer at samba.org
Wed Jan 17 12:13:13 GMT 2007


On Wed, 2007-01-17 at 12:54 +0100, David Allouche wrote:
> Jelmer Vernooij wrote:
> > On Tue, 2007-01-16 at 19:38 +0100, David Allouche wrote:
> > > Jelmer Vernooij wrote:
> [...]
> > > >    * Don't rely on listdir() kind results. Fixes imports of several 
> > > >      repositories. (#56647)
> > > I'm curious about this bug. Can you tell me more?
> > It turned out that the .kind member of dirents returned by
> > svn.ra.get_dir2() is (semi-?)random when used against older Subversion
> > servers. It would occasionally be 1 (svn.core.svn_node_file) even though
> > the entry in question was a directory. This took me a while to track
> > down. Instead, I've switched to always trying to open something as a
> > directory and catching the appropriate exception that indicates it's a
> > file.
> 
> That's very interesting. A number of Launchpad imports fail in a not-deterministic way with "failed REPORT". Currently I just classify those failures as "unreliable server", but I was puzzled by a pattern I noticed: the failures did not happen in a really random way.
I've seen that one as well. It appears to especially occur often with
sourceforge repositories. I suspect it has to do with timeouts, but I'm
not sure (as sourceforge uses https only so I can't use wireshark).

> It might be the same bug.
> 
> I would very much like if you could notify me when you encounter weird bugs like this
Sure, I'll try to keep you informed. Can you please do the same if you
encounter strange bugs?

>  (or like the "need to escape control chars in commit log for bzrlib" bug) as launchpad-cscvs and svn2bzr _will_ have the same problems.
That's actually a bzr bug (the escaping should happen in bzr's revision serializer), which I hope to fix properly soon.

Cheers,

Jelmer

-- 
Jelmer Vernooij <jelmer at samba.org> - http://samba.org/~jelmer/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 307 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20070117/c0113698/attachment.pgp 


More information about the bazaar mailing list