svn2bzr updated

Gustavo Niemeyer gustavo at niemeyer.net
Wed Dec 21 02:22:07 GMT 2005


Hey Jelmer,

> Please consider merging some of the recent fixes I made (now migrated
> to be based on your bzr branch). My branch is available at
> http://samba.org/~jelmer/bzr/svn2bzr/

As I told you in the private message (have you received it?), for
some reason you removed all the speed optimizations I did when you
mentioned that it was slower than expected, so merging your work
would take longer than the time I had available for it.

You've also created a bzr branch by yourself, which made integrating
with my branch an extra step. That's my fault, since I should have
published it long ago.

> Here is a summar of my changes:

Let's see..

>    10 Jelmer Vernooij	2005-12-20
>       'Retire' branches rather then removing them completely. This
>       makes sure old data that was present in SVN doesn't get lost. It
>       is also required for certain cases where branch names are moved
>       around (for files, 'revert' is used, but this of course doesn't
>       work on deleted branches).

Very cool!

>     9 Jelmer Vernooij	2005-12-20
>       Add test files that test corner cases or specific SVN features

It'd be nice to have them used by some tests that really ensures
svn2bzr is doing the expected behavior. Having them around just
makes easy to see if it doesn't break badly (which is a start,
of course).

>     8 Jelmer Vernooij	2005-12-20
>       Couple of fixes to the debugging output

The only changed I've seen regarding this was:

-         self._log.info("Revision %d read" % revno)
+         self._log.info("Revision %d read" % entry['revision-number'])

Which is not correct. The revision read is 'revno', which points
to the one just finished. entry['revision-number'] is the one
being read next.


>     7 Jelmer Vernooij	2005-12-20
>       Support the svn:executable bit

Nice!

>     6 Jelmer Vernooij	2005-12-20
>       SVN uses UTF-8 internally

+    bzrlib.user_encoding = 'utf8'

Is that all?  I've included it.

> I'm almost done with my work on the svn:ignore bit

Very cool as well.

Thanks for the summary!

-- 
Gustavo Niemeyer
http://niemeyer.net




More information about the bazaar mailing list