[MERGE] Deprecate Branch.missing_revisions()

Jelmer Vernooij jelmer at samba.org
Wed May 21 16:59:36 BST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

John Arbash Meinel wrote:
> It seems we have an old, crufty api out there that I'd like to
> remove.
>
> The code itself is pretty bad (scales O(mainline)). I could fix
> that, but the 'stop_revision' parameter was probably expected to be
> a revision_id, but is actually required to be a revno. The
> parameters aren't properly documented, and the function is only
> used in 'test_switch'.
>
> So I added some tests to make sure the current api is preserved,
> and deprecated the function since it is crufty.
>
> This came up on IRC as a question of how to do 'missing', so I
> figured I'd do a quick cleanup.
bb:approve

Cheers,

Jelmer
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQCVAwUBSDRG5Qy0JeEGD2blAQK2zwQAoSNMc+o9s5oCyMYTLcFXFIobE+9k7Uew
5WJVbHUujm9kKXBv6VPluU3kPXl+lW4wOOHPI8hLQ3P0Ax9YZLZV0aJFns7Ucs20
32jPeLcyakqj2JcPGt4mLe2Q1OMDMht09onsAEHrBTV5WXohv/a6nEW8cWFzgnG2
efIluqRu8Tg=
=uy/J
-----END PGP SIGNATURE-----




More information about the bazaar mailing list