Merging Two Projects
John Arbash Meinel
john at arbash-meinel.com
Mon Aug 10 18:06:29 BST 2009
-----BEGIN PGP SIGNED MESSAGE-----
Patrick Dobbs wrote:
> We've got two different projects, each one using bzr for version
> control, and each one with a distinct bzr history (no common base
> revision). One project is the database / business logic for a web
> application, the other is the web layer code. We've come to the
> conclusion that there is no benefit in managing these as distinct
> projects, so we'd like to merge them into one branch. Is there a way to
> do this whilst keeping the bzr history for each?
'bzr merge -r 0..-1 ../other'
bzr branch $BASE base
bzr branch $OTHER other
bzr join other
Caveat that the second method only works under certain conditions, and
the former method probably requires you to move files around.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
-----END PGP SIGNATURE-----
More information about the bazaar