export a subdirectory of a branch

Aaron Bentley aaron.bentley at utoronto.ca
Mon Jul 23 16:33:25 BST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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.

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGpMpF0F+nu1YWqI0RAmJ8AJ9rhL89lrQypRgkdqGky2YQmcQ8CgCghZ1F
3O+b3h65MpLv2y7aIJ3SboA=
=pkUZ
-----END PGP SIGNATURE-----



More information about the bazaar mailing list