Permalink
Browse files

Add commands to speed-up repository checkout

  • Loading branch information...
1 parent 2652042 commit 97da4a91d146d0f02ed9d3a5ba11dbd5b6e115a8 @kdeldycke committed Mar 5, 2013
Showing with 10 additions and 0 deletions.
  1. +10 −0 content/posts/bazaar-commands.md
@@ -13,6 +13,16 @@ tags: bazaar, CLI, development, Launchpad, Linux, OpenERP, programming, Version
:::bash
$ bzr branch lp:openobject-server/6.0 -r 3425 openerp-server
+ * Check-out the current head of a branch, without its history. This is particularly useful when working on large repositories with huge history ([source](http://doc.bazaar.canonical.com/beta/en/user-guide/using_checkouts.html#getting-a-lightweight-checkout)):
+
+ :::bash
+ $ bzr checkout --lightweight lp:openobject-addons/7.0 addons
+
+ * Export a copy of a branch, without any Bazaar metadata:
+
+ :::bash
+ $ bzr export addons lp:openobject-addons/7.0
+
* Get revision number of the local copy we sit in:
:::bash

0 comments on commit 97da4a9

Please sign in to comment.