export a subdirectory of a branch

Adam Mercer ramercer at gmail.com
Mon Jul 23 16:53:22 BST 2007


On 23/07/07, Aaron Bentley <aaron.bentley at utoronto.ca> wrote:

> Adam Mercer wrote:
> > I have a fairly large bzr branch and I need to export a subdirectory
> > of this branch, but bzr export only works on branches.  Is there a way
> > I can get around this without exporting the entire branch?
>
> bzr export works on entire trees, but you can always do it manually,
> e.g. "tar -czvf export.tar.gz -Csubdir"
>
> If you want to ignore unversioned files, you can use `bzr ls
> - --versioned` to generate a list of versioned files.

Thanks Aaron, that should work although I'll have to be careful with
locally changed files.

Cheers

Adam



More information about the bazaar mailing list