[MERGE] Handle files that are not present in the tree when exporting (#174539)

James Westby jw+debian at jameswestby.net
Fri Feb 20 20:14:31 GMT 2009


Hi,

In bzr-builddeb I use the export code to export a tree to a directory
when building. By default this uses the working tree, which isn't 
possible from the "export" command itself.

When exporting a working tree where a file is missing the code will
currently fail, as it assumes that anything in the inventory can be
read, and working trees break that assumption.

The attached patch makes the export code check for the presence of the
file in the tree, and skips anything that is missing.

It is only tested for exporting to a directory, as it is not possible
to export a working tree to a tarball without some more work.

Thanks,

James


-------------- next part --------------
A non-text attachment was scrubbed...
Name: bzr-dev-4011.patch
Type: text/x-patch
Size: 5841 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20090220/21e2312d/attachment.bin 


More information about the bazaar mailing list