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

  • Committer: v.ladeuil+lp at free
  • Date: 2006-10-05 09:31:55 UTC
  • mfrom: (2063 +trunk)
  • mto: (2145.1.1 keepalive)
  • mto: This revision was merged to the branch mainline in revision 2146.
  • Revision ID: v.ladeuil+lp@free.fr-20061005093155-bb311bc6ebf11994
Merge bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
import time
30
30
 
31
31
from bzrlib.config import extract_email_address
32
 
from bzrlib.errors import BzrError
 
32
from bzrlib.errors import NoEmailInUsername
33
33
 
34
34
 
35
35
def annotate_file(branch, rev_id, file_id, verbose=False, full=False,
81
81
            author = rev.committer
82
82
            try:
83
83
                author = extract_email_address(author)
84
 
            except BzrError:
 
84
            except NoEmailInUsername:
85
85
                pass        # use the whole name
86
86
        yield (revno_str, author, date_str, origin, text)