/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/missing.py

  • Committer: Jelmer Vernooij
  • Date: 2008-09-01 14:03:34 UTC
  • mto: (3680.1.1 bzr.dev)
  • mto: This revision was merged to the branch mainline in revision 3689.
  • Revision ID: jelmer@samba.org-20080901140334-iph5u142g49dv3zu
Use NULL_REVISION rather than None for Repository.revision_tree().

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)