~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/branch.py

  • Committer: mbp at sourcefrog
  • Date: 2005-03-09 07:00:48 UTC
  • Revision ID: mbp@sourcefrog.net-20050309070048-a0f0a23015e90267
new --timezone option for bzr log

Show diffs side-by-side

added added

removed removed

Lines of Context:
612
612
 
613
613
 
614
614
 
615
 
    def write_log(self, utc=False):
 
615
    def write_log(self, show_timezone='original'):
616
616
        """Write out human-readable log of commits to this branch
617
617
 
618
618
        :param utc: If true, show dates in universal time, not local time."""
626
626
            ##print 'revision-hash:', p
627
627
            rev = self.get_revision(p)
628
628
            print 'committer:', rev.committer
629
 
            print 'timestamp: %s' % (format_date(rev.timestamp, rev.timezone or 0))
 
629
            print 'timestamp: %s' % (format_date(rev.timestamp, rev.timezone or 0,
 
630
                                                 show_timezone))
630
631
 
631
632
            ## opportunistic consistency check, same as check_patch_chaining
632
633
            if rev.precursor != precursor: