bzr-svn svn-import and history across svn "renames"
Chris Hecker
checker at d6.com
Wed Jun 30 18:28:26 BST 2010
I need to look at the fast-(export|import) thing some more, but it looks
like it requires the svn python bindings, which are a mess on win32,
especially now that svn is on apache.org, tigris isn't making binaries
anymore. I also didn't see any indication that it supported rename
inference when I looked last night. Does anybody know if it does?
I agree about putting more work into "real" features like supporting
copies rather than hacks, I'm mostly just pointing out that any svn repo
with renames in it is kind of lost in the middle between svn's decision
to not support first class renames, and bzr's decision to not support
copies, and as far as I can tell, there's no "this will just work" thing
I can run to fix it, which is sad for somebody who's motivated to make
the switch but can't.
Back to blindly hacking on svn2bzr.py, I suppose.
Thanks,
Chris
John Arbash Meinel wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Chris Hecker wrote:
>>> Rename inference would have severe performance consequences,
>>> primarily because bzr-svn supports more than just one-time imports.
>> Sure, it just seems like giving the user the option even if it's slower
>> is better than no option that doesn't lose information.
>>
>
> The problem for bzr-svn is that it uses deterministic revision ids
> (which is how it is able to interoperate with svn across multiple
> clients). However as soon as one of us uses a different flag to convert
> the repository, our repos are actually incompatible. Even worse if you
> keep deterministic revids then you have potential corruption (because I
> say I have revision 'foo' and so do you, but they point to different data.)
>
> You can have the flags as part of the revision-id, but that also forces
> 2 people to no longer interoperate. (Not to mention what happens when
> you push that back into svn...)
>
> As such, using an svn => fastimport stream and then using 'bzr
> fastimport' is significantly better whenever you can have a "canonical
> conversion". It lets you do any pruning, or optional work in that
> conversion, and everyone who wants to use bzr just uses that copy of the
> conversion.
>
> John
> =:->
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (Cygwin)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAkwreb0ACgkQJdeBCYSNAANQAgCbB0Epi8/HnX5EQbK/36nLXnVH
> PNAAn0I6gRg455W5hgs4SQWd3Vt9abfl
> =XiRe
> -----END PGP SIGNATURE-----
>
More information about the bazaar
mailing list