Merge lp:~parthm/bzr/563646-commit-unicode-message into lp:bzr
Status: | Merged |
---|---|
Approved by: | Robert Collins |
Approved revision: | no longer in the source branch. |
Merged at revision: | 5214 |
Proposed branch: | lp:~parthm/bzr/563646-commit-unicode-message |
Merge into: | lp:bzr |
Diff against target: |
82 lines (+43/-0) 3 files modified
NEWS (+5/-0) bzrlib/tests/blackbox/test_commit.py (+35/-0) bzrlib/ui/text.py (+3/-0) |
To merge this branch: | bzr merge lp:~parthm/bzr/563646-commit-unicode-message |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Martin Pool | Approve | ||
Martin Packman (community) | Abstain | ||
Robert Collins (community) | Approve | ||
bzr-core | Pending | ||
Review via email: mp+23752@code.launchpad.net |
Commit message
better unicode handling when commit message (-m) is same as unicode filename. (parthm, #563646)
Description of the change
=== Fixes Bug #563646 ===
When a file has the same name as the commit message (-m), bzr displays a warning. When the file name is unicode, this was causing ui.text.
ui.text.
Test case is added for the above scenario.
[abc]% ~/src/bzr.
bzr: warning: The commit message is a file name: "€".
(use --file "€" to take commit message from that file)
Committing to: /home/parthm/
added d
Committed revision 7.
[abc]%
Great