Question

I need to generate a tarball from a project checked out from a bazaar repository. Since I'm not a regular bazaar user, can anyone tell me if there is such a command and its syntax?

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top