[MERGE] [bug #158333] Fix RemoteRepository.fetch() and add tests.

John Arbash Meinel john at arbash-meinel.com
Mon Oct 29 21:53:38 GMT 2007


This fixes bug #158333
It prefers to import the module, and then use revision.is_null() in
various places, rather than the manual (revision_id in (NULL_REVISION,
None)) and other such checks.

It also adds some tests for repository_implementations that makes sure
Repo.fetch(self) does what is expected (it checks that the revision is
present, but nothing else.)

Bug #158333 is a regression from bzr 0.91, so this (or a variant of it)
should probably be merged into 0.92 final.

John
=:->
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-patch
Size: 6662 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20071029/c81aeac5/attachment.bin 


More information about the bazaar mailing list