Comments - Build Environment Setup for Linux

12 years, 5 months ago colin charles

When doing a source checkout, you are basically getting HEAD. How does one pick specific versions/tags?

 
12 years, 5 months ago Daniel Bartholomew

Something like this should work:

bzr branch -rtag:${tagname} ${sourcedir} ${destname}

Example:

I have my MariaDB 5.2 tree in a folder called "5.2". To branch a MariaDB 5.2.9 tree I would do:

bzr branch -rtag:mariadb-5.2.9 5.2 mariadb-5.2.9

After it finishes the branch process I will have a "mariadb-5.2.9" folder with every commit up-to-and-including the one tagged "mariadb-5.2.9".

 
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.