This article is obsolete. We don't use bzr anymore. This howto needs to be rewritten to explain how to create a merge tree in git.
Merge tree in the context of this HOWTO is a tree created specifically to simplify merges of third-party packages into MariaDB. WIth a merge tree there's a clear separation between upstream changes and our changes and in most cases bzr can do the merges automatically.
Here's how I created a merge tree for pcre:
mkdir pcre cd pcre bzr init
pcre-8.34.tar.bz2 tar xf ~/pcre-8.34.tar.bz2 mv pcre-8.34 pcre
bzr add --file-ids-from ~/Abk/mysql/10.0
bzr commit -m pcre-8.34 bzr push --remember lp:~maria-captains/maria/pcre-mergetree
0..1 cd ~/Abk/mysql/10.0 bzr merge -r 0..1 ~/mergetrees/pcre/
bzr rm `bzr added` bzr revert --no-backup `bzr modified` bzr resolve pcre
bzr status bzr commit -m 'pcre-8.34 mergetree initial merge'
Now see Merging with a merge tree.
© 2023 MariaDB
Licensed under the Creative Commons Attribution 3.0 Unported License and the GNU Free Documentation License.
https://mariadb.com/kb/en/creating-a-new-merge-tree/