~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/missing.py

  • Committer: Jelmer Vernooij
  • Date: 2012-03-15 02:42:48 UTC
  • mto: This revision was merged to the branch mainline in revision 6510.
  • Revision ID: jelmer@samba.org-20120315024248-7nyk2zxc52i1u8gj
extention -> extension.

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
import bzrlib.revision as _mod_revision
26
26
 
27
27
 
28
 
def iter_log_revisions(revisions, revision_source, verbose, rev_tag_dict=None):
 
28
def iter_log_revisions(revisions, revision_source, verbose):
29
29
    last_tree = revision_source.revision_tree(_mod_revision.NULL_REVISION)
30
30
    last_rev_id = None
31
 
 
32
 
    if rev_tag_dict is None:
33
 
        rev_tag_dict = {}
34
31
    for rev in revisions:
35
32
        # We need the following for backward compatibilty (hopefully
36
33
        # this will be deprecated soon :-/) -- vila 080911
44
41
            delta = revision_source.get_revision_delta(rev_id)
45
42
        else:
46
43
            delta = None
47
 
        yield log.LogRevision(rev, revno, merge_depth, delta=delta,
48
 
                              tags=rev_tag_dict.get(rev_id))
 
44
        yield log.LogRevision(rev, revno, merge_depth, delta=delta)
49
45
 
50
46
 
51
47
def find_unmerged(local_branch, remote_branch, restrict='all',