Simple answer:
bzr export /path/to/myproj.tar.gz
Bazaar will automatically recognize the format by the suffix, but you can also use the --format
option to specify the format explicitly. Files within the archive will be in the directory myproj
(i.e., derived from the filename). You can override that with the --root
option. See bzr export --help
for more options.