[MERGE] Support dpushing an empty branch.
jelmer at vernstok.nl
Fri Apr 10 22:46:08 BST 2009
The attached patch fixes "bzr dpush" of empty branches, where it would
attempt to retrieve an inventory with revision NULL_REVISION from a
repository. This patch special cases NULL_REVISION.
Is there any reason why Repository.iter_inventories() explicitly refuses
to handle NULL_REVISION rather than just returning an empty Inventory() ?
It's hard to test this patch as the current test infrastructure doesn't
treat NULL_REVISION specially. bzr-svn has a test that demonstrates the
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2960 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20090410/5758e91e/attachment-0001.bin
More information about the bazaar