[MERGE] Move install_revision(s) onto the Repository object.
Jelmer Vernooij
jelmer at samba.org
Mon Aug 4 04:55:04 BST 2008
Am Montag, den 04.08.2008, 13:45 +1000 schrieb Robert Collins:
> On Mon, 2008-08-04 at 05:26 +0200, Jelmer Vernooij wrote:
> > The attached patch refactors the install_revision and
> > install_revisions functions to be methods on Repository, so it's
> > possible for Repository implementations (such as bzr-svn) to override
> > it.
>
> bb:resubmit
>
> Where it is has been tested; moving it onto a class that repositories
> are (expected) to sometimes override means that it becomes part of the
> interface and needs interface level tests.
>
> I think moving it is a good thing to do; but please ensure that all the
> tests for it are moved/copied/extended to ensure that it has adequate
> coverage: the tests for it on a bzr-svn repository passing should be
> enough to be confident it works. (and likewise on packs etc etc).
There were already tests for it in
bzrlib/tests/repository_implementations/ - is that the sort of interface
tests you mean? If not, what sort of interface tests do you mean?
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/20080804/90611388/attachment.pgp
More information about the bazaar
mailing list