Rev 17: Use get_apparent_author rather than committer. in file:///data/jelmer/bzr-stats/trunk/
Jelmer Vernooij
jelmer at samba.org
Sat Jun 28 20:08:44 BST 2008
At file:///data/jelmer/bzr-stats/trunk/
------------------------------------------------------------
revno: 17
revision-id: jelmer at samba.org-20080628190844-wvhafwcu0za9mg2v
parent: jelmer at samba.org-20080628190638-ogqyfqb715ys0yum
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: trunk
timestamp: Sat 2008-06-28 21:08:44 +0200
message:
Use get_apparent_author rather than committer.
modified:
__init__.py __init__.py-20060629132721-mkbaty0vfk4y3v59-1
=== modified file '__init__.py'
--- a/__init__.py 2008-06-28 19:06:38 +0000
+++ b/__init__.py 2008-06-28 19:08:44 +0000
@@ -102,9 +102,9 @@
for count, rev in enumerate(revisions):
pb.update('checking', count, len(revids))
try:
- email = config.extract_email_address(rev.committer)
+ email = config.extract_email_address(rev.get_apparent_author())
except errors.BzrError:
- email = rev.committer
+ email = rev.get_apparent_author()
committers.setdefault(email, []).append(rev)
finally:
pb.finished()
@@ -148,9 +148,9 @@
for count, rev in enumerate(revisions):
pb.update('checking', count, len(ancestry))
try:
- email = config.extract_email_address(rev.committer)
+ email = config.extract_email_address(rev.get_apparent_author())
except errors.BzrError:
- email = rev.committer
+ email = rev.get_apparent_author()
committers.setdefault(email, []).append(rev)
finally:
a_repo.unlock()
More information about the bazaar-commits
mailing list