[MERGE] Repository has a new method ``has_revisions``
Robert Collins
robertc at robertcollins.net
Fri Jan 11 03:57:33 GMT 2008
So this adds Repository.has_revisions. While I considered has_revision a
LBYL problem, it turns out that the logic for 'find revisions to pull'
quite reasonably doesn't want to ask for 'all revisions' and filter what
crosses the wire :).
This provides a method which answers the question for many revisions, an
apparent necessity for smart server operations.
-Rob
--
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bzr-mail-Hl6e-H.patch
Type: text/x-patch
Size: 14898 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20080111/ebad8a9b/attachment-0001.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20080111/ebad8a9b/attachment-0001.pgp
More information about the bazaar
mailing list