{"id":2380,"date":"2011-05-21T18:35:42","date_gmt":"2011-05-21T08:35:42","guid":{"rendered":"http:\/\/www.flamingspork.com\/blog\/?p=2380"},"modified":"2011-05-21T18:35:42","modified_gmt":"2011-05-21T08:35:42","slug":"xtrabackup-bazaar-repositories-upgraded-to-2a-format","status":"publish","type":"post","link":"https:\/\/www.flamingspork.com\/blog\/2011\/05\/21\/xtrabackup-bazaar-repositories-upgraded-to-2a-format\/","title":{"rendered":"xtrabackup bazaar repositories upgraded to 2a format"},"content":{"rendered":"<p>I have just upgraded the xtrabackup bazaar code repositories to the 2a format. This means that bzr 1.16 is required to access the source code repositories now.<\/p>\n<p>If you get an error like the one below when working with a local branch, you&#8217;ll need to run &#8220;bzr upgrade&#8221; in it (see below for example). For branches on launchpad, you can use the web UI and hit the &#8220;upgrade branch&#8221; button.<\/p>\n<pre>stewart@willster:~\/src\/percona-xtrabackup$ bzr pull\r\nUsing saved parent location: bzr+ssh:\/\/bazaar.launchpad.net\/%2Bbranch\/percona-xtrabackup\/\r\nDoing on-the-fly conversion from RemoteRepositoryFormat(_network_name='Bazaar repository format 2a (needs bzr 1.16 or later)\\n') to RepositoryFormatKnitPack1().\r\nThis may take some time. Upgrade the repositories to the same format for better performance.\r\nbzr: ERROR: KnitPackRepository('file:\/\/\/home\/stewart\/src\/percona-xtrabackup\/.bzr\/repository\/')\r\nis not compatible with\r\nRemoteRepository(bzr+ssh:\/\/bazaar.launchpad.net\/%2Bbranch\/percona-xtrabackup\/.bzr\/)\r\ndifferent rich-root support\r\nstewart@willster:~\/src\/percona-xtrabackup$ bzr upgrade\r\nUpgrading branch file:\/\/\/home\/stewart\/src\/percona-xtrabackup\/ ...              \r\nstarting upgrade of file:\/\/\/home\/stewart\/src\/percona-xtrabackup\/\r\nmaking backup of file:\/\/\/home\/stewart\/src\/percona-xtrabackup\/.bzr\r\n  to file:\/\/\/home\/stewart\/src\/percona-xtrabackup\/backup.bzr.~1~\r\nstarting repository conversion                                                 \r\nrepository converted                                                           \r\nfinished<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>I have just upgraded the xtrabackup bazaar code repositories to the 2a format. This means that bzr 1.16 is required to access the source code repositories now. If you get an error like the one below when working with a &hellip; <a href=\"https:\/\/www.flamingspork.com\/blog\/2011\/05\/21\/xtrabackup-bazaar-repositories-upgraded-to-2a-format\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[423],"tags":[100,635,422],"class_list":["post-2380","post","type-post","status-publish","format-standard","hentry","category-percona","tag-bzr","tag-percona","tag-xtrabackup"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p5a6n8-Co","jetpack-related-posts":[{"id":3043,"url":"https:\/\/www.flamingspork.com\/blog\/2012\/06\/28\/hacking-the-jenkins-bzr-plugin\/","url_meta":{"origin":2380,"position":0},"title":"Hacking the Jenkins BZR plugin","author":"Stewart Smith","date":"2012-06-28","format":false,"excerpt":"For Drizzle and for all of the projects we work on at Percona we use the Bazaar revision control system (largely because it's what we were using at MySQL and it's what MySQL still uses). We also use Jenkins. We have a lot of jobs in our Jenkins. A lot.\u2026","rel":"","context":"In &quot;code&quot;","block_context":{"text":"code","link":"https:\/\/www.flamingspork.com\/blog\/category\/code\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3655,"url":"https:\/\/www.flamingspork.com\/blog\/2014\/01\/14\/converting-mysql-trees-to-git\/","url_meta":{"origin":2380,"position":1},"title":"Converting MySQL trees to git","author":"Stewart Smith","date":"2014-01-14","format":false,"excerpt":"I have put up a set of scripts on github: https:\/\/github.com\/stewartsmith\/bzr-to-git-conversion-scripts. Why do I need these? Well... if only bzr fast-export|git fast-import worked flawlessly for large, complex and old trees. It doesn't. Basically, when you clone this repo you can run \".\/sync-BLAH.sh\" and it'll pull BZR trees for the project,\u2026","rel":"","context":"In &quot;code&quot;","block_context":{"text":"code","link":"https:\/\/www.flamingspork.com\/blog\/category\/code\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3149,"url":"https:\/\/www.flamingspork.com\/blog\/2012\/08\/27\/new-jenkins-bazaar-plugin-release\/","url_meta":{"origin":2380,"position":2},"title":"New Jenkins Bazaar plugin release","author":"Stewart Smith","date":"2012-08-27","format":false,"excerpt":"I've just uploaded version 1.20 of the Bazaar plugin for Jenkins. This release is based on feedback from users and our experiences at Percona. Do a lightweight checkout instead of a heavyweight checkout (if \"Checkout\" is enabled) Fix bug: lightweight checkout \"update\" would always fail as bzr update didn't accept\u2026","rel":"","context":"In &quot;code&quot;","block_context":{"text":"code","link":"https:\/\/www.flamingspork.com\/blog\/category\/code\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3089,"url":"https:\/\/www.flamingspork.com\/blog\/2012\/07\/04\/jenkins-bazaar-plugin-1-19\/","url_meta":{"origin":2380,"position":3},"title":"Jenkins Bazaar plugin 1.19","author":"Stewart Smith","date":"2012-07-04","format":false,"excerpt":"I recently released a new version of the Bazaar plugin for Jenkins. This release was inspired by a problem we noticed at Percona. It is: run \"bzr revert\" after a pull, as if you have a directory that is removed and re-added while having unknown files in said directory (e.g.\u2026","rel":"","context":"In &quot;code&quot;","block_context":{"text":"code","link":"https:\/\/www.flamingspork.com\/blog\/category\/code\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3051,"url":"https:\/\/www.flamingspork.com\/blog\/2012\/06\/28\/new-jenkins-bazaar-plugin-release-1-18\/","url_meta":{"origin":2380,"position":4},"title":"New Jenkins Bazaar plugin release! 1.18","author":"Stewart Smith","date":"2012-06-28","format":false,"excerpt":"From the desk of your new Bazaar plugin for Jenkins maintainer, I give you Version 1.18. This release has two good bug fixes: UI fix for checkout option (JENKINS-12261) Auto-recover from corrupt BZR branches (e.g. bzr branch\/checkout killed at inopportune moment) by cleaning the workspace and trying again (this is\u2026","rel":"","context":"In &quot;code&quot;","block_context":{"text":"code","link":"https:\/\/www.flamingspork.com\/blog\/category\/code\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3419,"url":"https:\/\/www.flamingspork.com\/blog\/2013\/10\/02\/the-end-of-bazaar\/","url_meta":{"origin":2380,"position":5},"title":"The end of Bazaar","author":"Stewart Smith","date":"2013-10-02","format":false,"excerpt":"I've used the Bazaar (bzr) version control system since roughly 2005. The focus on usability was fantastic and the team at Canonical managed to get the entire MySQL BitKeeper history into Bazaar - facilitating the switch from BitKeeper to Bazaar. There were some things that weren't so great. Early on\u2026","rel":"","context":"In &quot;code&quot;","block_context":{"text":"code","link":"https:\/\/www.flamingspork.com\/blog\/category\/code\/"},"img":{"alt_text":"Screenshot from 2013-10-02 10:32:19","src":"https:\/\/i0.wp.com\/www.flamingspork.com\/blog\/wp-content\/uploads\/2013\/10\/Screenshot-from-2013-10-02-103219-300x59.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]}],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/posts\/2380","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/comments?post=2380"}],"version-history":[{"count":1,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/posts\/2380\/revisions"}],"predecessor-version":[{"id":2381,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/posts\/2380\/revisions\/2381"}],"wp:attachment":[{"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/media?parent=2380"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/categories?post=2380"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.flamingspork.com\/blog\/wp-json\/wp\/v2\/tags?post=2380"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}