bzr fast-import/fast-export what's the importance of marks file when dealing with multiple branches

John Arbash Meinel john at arbash-meinel.com
Wed Jul 13 16:25:41 UTC 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


...
> 
> Sounds like what I thought it might be. Although some testing with 
> exporting from bzr to git seems to suggest that git doesn't need to use 
> to same marks file to correctly associate common revisions, or it might 
> just be luck with what I've tested.
> 
> Possibly something to do with how the sha-1's are calculated for each 
> commit which means that git is managing to work out the history 
> correctly anyway. Anyway I'll go poke the git devs on that. Thanks for 
> the quick answer.
> 

In git, identity is determined entirely by content. So if you export 2
revisions that generate identical tree content and commit information,
then they will be the same revision in git. That isn't true for bzr.

John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk4dxwUACgkQJdeBCYSNAANxbACgix+goBS7nMl+dLVHQTnNAPBI
9qoAnioSiCSvYHkZi2zGJ1Pm/9lqh5qd
=G48q
-----END PGP SIGNATURE-----



More information about the bazaar mailing list