/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/branch.py

  • Committer: John Arbash Meinel
  • Date: 2008-05-21 15:42:47 UTC
  • mto: This revision was merged to the branch mainline in revision 3465.
  • Revision ID: john@arbash-meinel.com-20080521154247-sqpkv9um9grku9e1
Add tests for Branch.missing_revisions and deprecate it.

The api uses a 'stop_revision' but it is supposed to be a revno, not a
revision_id. The code itself is very crufty and slow (and doesn't take
a read_lock). But rather than fix it, just nuke the function.

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
 
42
42
from bzrlib.decorators import needs_read_lock, needs_write_lock
43
43
from bzrlib.hooks import Hooks
 
44
from bzrlib.symbol_versioning import deprecated_in, deprecated_method
44
45
from bzrlib.trace import mutter, mutter_callsite, note, is_quiet
45
46
 
46
47
 
420
421
        else:
421
422
            return (0, _mod_revision.NULL_REVISION)
422
423
 
 
424
    @deprecated_method(deprecated_in((1, 6, 0)))
423
425
    def missing_revisions(self, other, stop_revision=None):
424
426
        """Return a list of new revisions that would perfectly fit.
425
427