~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/missing.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2008-09-04 14:22:34 UTC
  • mfrom: (3680.1.1 bzr.dev)
  • Revision ID: pqm@pqm.ubuntu.com-20080904142234-pldim6ie032cb6am
(Jelmer) Deprecate Repository.revision_tree(None).

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
from bzrlib.log import (
20
20
    LogRevision,
21
21
    )
 
22
import bzrlib.revision as _mod_revision
22
23
 
23
24
 
24
25
def iter_log_revisions(revisions, revision_source, verbose):
25
 
    last_tree = revision_source.revision_tree(None)
 
26
    last_tree = revision_source.revision_tree(_mod_revision.NULL_REVISION)
26
27
    last_rev_id = None
27
28
    for revno, rev_id in revisions:
28
29
        rev = revision_source.get_revision(rev_id)