Can I merge two separate projects into a single repository and maintain the revision history of each project?
John Arbash Meinel
john at arbash-meinel.com
Fri Jul 30 15:07:01 BST 2010
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Daniel.Straight at Intralox.com wrote:
> Basically, I have project A in a repository and project B in a separate
> repository. The thing is, project B is a library only used by project A,
> so I want to integrate it with project A. Can I do this and still
> maintain the revision history of project B?
>
There is the merge-into plugin which should support this, but if you
don't get that working you can do:
cd projectA
bzr merge -r 0..-1 ../projectB
bzr mkdir projectB-lib
bzr mv project_b_files projectB-lib
bzr commit -m "incorporate projectB"
And it will keep the revision history of all the projectB-lib files in-tact.
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkxS3IUACgkQJdeBCYSNAAPFqACfSk6io2XJjWdSjxtEt1ZPwmSG
WiQAnib4UoZpMLSjrb1QmPXbo+j5NBxM
=Ye6+
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list