3

I'm wondering how to do git clone --depth HEAD with BZR, because I don't need the whole branch history.

Joe Simpson
  • 2,546
  • 4
  • 30
  • 46

2 Answers2

5

Bazaar supports lightweight checkouts with the --lightweight switch.

bzr checkout --lightweight lp:openshot
Schwern
  • 153,029
  • 25
  • 195
  • 336
  • I'm trying to grab a remote repo and not export a local one. Sorry :( – Joe Simpson May 04 '12 at 19:44
  • 2
    Though, in this particular project, that is unlikely to take much less to download. The checkout is 50 megs and the repository is 57. Because of the efficient way which systems like Git and Bazaar store changes, this is very often the case and it's not worth the hassle to do a lightweight checkout to save a little disk space. – Schwern May 04 '12 at 20:01
2

What you are looking for is called a lightweight checkout in Bazaar.

robince
  • 10,826
  • 3
  • 35
  • 48