~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/missing.py

  • Committer: Vincent Ladeuil
  • Date: 2008-09-11 19:36:38 UTC
  • mfrom: (3703 +trunk)
  • mto: (3705.1.1 trunk2)
  • mto: This revision was merged to the branch mainline in revision 3708.
  • Revision ID: v.ladeuil+lp@free.fr-20080911193638-wtjyc1kcmacc6t1f
merge bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
    repository as _mod_repository,
22
22
    tsort,
23
23
    )
 
24
import bzrlib.revision as _mod_revision
24
25
 
25
26
 
26
27
def iter_log_revisions(revisions, revision_source, verbose):
27
 
    last_tree = revision_source.revision_tree(None)
 
28
    last_tree = revision_source.revision_tree(_mod_revision.NULL_REVISION)
28
29
    last_rev_id = None
29
30
    for rev in revisions:
30
31
        # We need the following for backward compatibilty (hopefully