[MERGE][RFC] Support *no authors* for a commit

Jelmer Vernooij jelmer at samba.org
Fri Apr 10 00:24:39 BST 2009


Subversion and cvs2svn will occasionally create commits that have no
committer or author set (e.g. commits not made by humans but "padding"
commits).  bzr-svn will in this situation happily set the committer
field to None and Bazaar deals with this just fine. However, the new
Revision.get_apparent_authors() function will in this situation return
[None].

Despite the fact that it's not generally a good idea to have the
committer field set to None (robots have identities, too!) I think it
should return [] rather than [None] so e.g. GUIs or bzr log don't show
an empty author field or traceback.

Cheers,

Jelmer

-------------- next part --------------
A non-text attachment was scrubbed...
Name: get-apparent-author-no-committer-4259.patch
Type: text/x-patch
Size: 4516 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20090410/29cd3e92/attachment.bin 


More information about the bazaar mailing list