bzr-svn 0.3

Jelmer Vernooij jelmer at samba.org
Tue Jan 16 19:13:02 GMT 2007


Hi David,

On Tue, 2007-01-16 at 19:38 +0100, David Allouche wrote:
> It looks like there is a lot of knowledge there that would be useful for my other svn import projects. I would like if you could enlighten me.

> Jelmer Vernooij wrote:
> > I'm happy to announce the next release of bzr-svn, version 0.3. The main
> > focus in this release has been on fixing bugs improving performance.
> > 
> > The following changes have been made:
> > 
> >   BUG FIXES
> > 
> >    * Use checksums for the path in case the file id is too long.
> > (#77453)
> > 
> >    * 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.
    
> >    * Locks ra transports. (#76280)
> And this one.
That's just internal bzr-svn code to make sure an svn.ra handle is only
used once simultaneously. If you call svn.ra functions from a
svn.ra.get_log() receiver, you get very very weird results.

> >    * Use built-in ra callbacks from Subversion. (#64816)
> And this one.
Simply being lazy by not providing prompt implementations for asking for
usernames but using the stock Subversion one instead.

> > 
> >    * Support spaces in filenames in working trees.
> And this one.
The working copy entries each have url members. These urls are
urlescaped and thus need to be unescaped when used for (e.g.) file id
lookups.

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/20070116/ff000822/attachment.pgp 


More information about the bazaar mailing list