Merge lp:~abentley/bzr/revision-id-from-committer into lp:bzr/2.2
Proposed by
Aaron Bentley
on 2010-08-10
| Status: | Merged |
|---|---|
| Approved by: | Jelmer Vernooij on 2010-08-11 |
| Approved revision: | 5072 |
| Merged at revision: | 5072 |
| Proposed branch: | lp:~abentley/bzr/revision-id-from-committer |
| Merge into: | lp:bzr/2.2 |
| Diff against target: |
103 lines (+57/-6) 4 files modified
NEWS (+28/-0) bzrlib/generate_ids.py (+4/-4) bzrlib/repository.py (+1/-2) bzrlib/tests/per_repository/test_commit_builder.py (+24/-0) |
| To merge this branch: | bzr merge lp:~abentley/bzr/revision-id-from-committer |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Jelmer Vernooij (community) | 2010-08-10 | Approve on 2010-08-11 | |
|
Review via email:
|
|||
Commit Message
CommitBuilder user committer, not username in revision-id.
Description of the Change
This change fixes bug #614404 by using the committer, rather than the
config.username, to determine the revision id. The provided test ensures that
1. NoWhoami is raised if the committer is not supplied
2. The commit succeeds if the committer is supplied.
I also tweaked the documentation of gen_revision_id to reflect the new
preferred usage.
To post a comment you must log in.
review:
Approve
