~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/log.py

  • Committer: Ian Clatworthy
  • Date: 2009-01-23 01:59:49 UTC
  • mto: (3953.1.1 ianc-integration)
  • mto: This revision was merged to the branch mainline in revision 3954.
  • Revision ID: ian.clatworthy@canonical.com-20090123015949-rbju3vhsb33xsqba
feedback from jelmer re position of tags in --line

Show diffs side-by-side

added added

removed removed

Lines of Context:
907
907
        out = []
908
908
        if revno:
909
909
            # show revno only when is not None
910
 
            tag_str = ''
911
 
            if tags:
912
 
                tag_str = '{%s}' % (', '.join(tags))
913
 
            out.append("%s%s:" % (revno,tag_str))
 
910
            out.append("%s:" % (revno))
914
911
        out.append(self.truncate(self.short_author(rev), 20))
915
912
        out.append(self.date_string(rev))
 
913
        if tags:
 
914
            tag_str = '{%s}' % (', '.join(tags))
 
915
            out.append(tag_str)
916
916
        out.append(rev.get_summary())
917
917
        return self.truncate(" ".join(out).rstrip('\n'), max_chars)
918
918