Merge lp:~jr/bzr/667408-bzr-blame-no-whoami into lp:bzr
Proposed by
Jonathan Riddell
Status: | Merged |
---|---|
Approved by: | Jonathan Riddell |
Approved revision: | no longer in the source branch. |
Merged at revision: | 5971 |
Proposed branch: | lp:~jr/bzr/667408-bzr-blame-no-whoami |
Merge into: | lp:bzr |
Diff against target: |
130 lines (+30/-9) 5 files modified
bzrlib/annotate.py (+5/-1) bzrlib/tests/blackbox/test_ancestry.py (+0/-3) bzrlib/tests/blackbox/test_annotate.py (+22/-4) bzrlib/tests/per_repository/test_commit_builder.py (+0/-1) doc/en/release-notes/bzr-2.4.txt (+3/-0) |
To merge this branch: | bzr merge lp:~jr/bzr/667408-bzr-blame-no-whoami |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jelmer Vernooij (community) | code | Approve | |
Review via email: mp+64375@code.launchpad.net |
Commit message
``bzr annotate`` can be run without setting whoami data first. (Jonathan Riddell, LP: #667408)
Description of the change
simple fix to allow for bzr annotate without whoami being set
Another slightly more generic way to do this might be to alter config.username() to take a allow_no_email paramater that means it returns only the username if it can't find an e-mail.
To post a comment you must log in.
Thanks, I'm surprised it's as simple as this..
Please merge lp:~jelmer/bzr/667408-bzr-blame-no-whoami which adds a test for this behaviour.
Please add a entry to the release notes.