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 14:29:47 UTC 2011


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

On 7/13/2011 4:15 PM, Bailey, Darragh wrote:
> 
> While experimenting with using git-bzr-ng and import/export branches to 
> git/from bzr I'm wondering what is the importance of using the same 
> mark's files when handling related but unmerged branches from the same 
> repository?
> 
> The example on 
> http://doc.bazaar.canonical.com/plugins/en/fastimport-plugin.html 
> indicates that one should do the following when exporting and import 
> related branches:
> 
> bzr fast-export --export-marks=marks.bzr project.dev |
>         GIT_DIR=project/.git git-fast-import --export-marks=marks.git
> 
> bzr fast-export --import-marks=marks.bzr -b other project.other |
>         GIT_DIR=project/.git git-fast-import --import-marks=marks.git
> 
> 
> But nowhere can I find an indication of why this is important? Is this 
> just a performance improvement, or is there a repository history 
> integrity issue should it not be followed?
> 

bzr fast-import generates new revision information for every commit. If
you specify a marks file, it will re-use the imports from the other
branch. If you don't, the branches won't share common revisions.

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

iEYEARECAAYFAk4dq9sACgkQJdeBCYSNAANk7ACfWnFt42vaF+UmXPnNGRba1sPE
G68AoNVz5jFaARuOEhLBdGbU/Lkx/WSY
=TtfT
-----END PGP SIGNATURE-----



More information about the bazaar mailing list