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

  • Committer: Aaron Bentley
  • Date: 2007-08-15 16:05:13 UTC
  • mfrom: (2703 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2709.
  • Revision ID: abentley@panoramicfeedback.com-20070815160513-aepyrd0uu9vtedsy
Merge bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
49
49
all the changes since the previous revision that touched hello.c.
50
50
"""
51
51
 
52
 
# TODO: option to show delta summaries for merged-in revisions
53
 
 
54
52
from itertools import izip
55
53
import re
56
54
 
805
803
    lf.show(revno, rev, delta)
806
804
 
807
805
 
808
 
def show_changed_revisions(branch, old_rh, new_rh, to_file=None, log_format='long'):
 
806
def show_changed_revisions(branch, old_rh, new_rh, to_file=None,
 
807
                           log_format='long'):
809
808
    """Show the change in revision history comparing the old revision history to the new one.
810
809
 
811
810
    :param branch: The branch where the revisions exist
817
816
        import sys
818
817
        import codecs
819
818
        import bzrlib
820
 
        to_file = codecs.getwriter(bzrlib.user_encoding)(sys.stdout, errors='replace')
 
819
        to_file = codecs.getwriter(bzrlib.user_encoding)(sys.stdout,
 
820
                                                         errors='replace')
821
821
    lf = log_formatter(log_format,
822
822
                       show_ids=False,
823
823
                       to_file=to_file,
854
854
        show_log(branch,
855
855
                 lf,
856
856
                 None,
857
 
                 verbose=True,
 
857
                 verbose=False,
858
858
                 direction='forward',
859
859
                 start_revision=base_idx+1,
860
860
                 end_revision=len(new_rh),