[RFC] Splitting bzr-specific functions out of Repository

Jelmer Vernooij jelmer at samba.org
Sun Jul 27 20:05:40 BST 2008


Would anybody be opposed to splitting the bzr-specific functions out of
Repository into a BzrRepository class that is a subclass of Repository,
similar to BzrBranch and Branch?

The functions I'm thinking of that could be in BzrRepository only are:

Repository.get_inventory_xml -> BzrRepository.get_inventory_text
Repository.get_revision_xml -> BzrRepository.get_revision_text
Repository.get_revision_sha1 -> BzrRepository.get_revision_sha1
Repository.get_inventory_sha1 -> BzrRepository.get_inventory_sha1
Repository.serialise_inventory -> BzrRepository.serialise_inventory

Cheers,

Jelmer
-- 
Jelmer Vernooij <jelmer at samba.org> - http://samba.org/~jelmer/
Jabber: jelmer at jabber.fsfe.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 315 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20080727/e61c13fb/attachment.pgp 


More information about the bazaar mailing list