-
Committer:
ghigo
-
Date:
2007-07-16 17:52:07 UTC
-
mto:
(2772.1.1 show-diff)
-
Revision ID:
ghigo@venice-20070716175207-d1d8mmetgg8krcbd
On the basis of the email from Martin, Aaron I changed the encoding logic
in the function make_commit_message_template()
- in the diff, if the line is an header is decoded as UTF8
- otherwise the line is decoded as bzrlib.user_encoding
the rationale is that the message is already encoded as bzrlib.user_encoding
during the writing.
So the header which is know the encoding are correctly decoded. For the
other data, the decoding is the same of one which is used during the
file writing in order do minimize the encoding/decoding effect.
In order to move the user encoding at the UI level, the parameter user_encoding
is added to the functions
- make_commit_message_template
- _create_temp_file_with_commit_template
- edit_commit_message
Finally, I also added a paragraph to the tutorial about the option, and added
another while I was there (thank to James Westby)
.. |
bzrlib
|
1185.1.29
|
20 years ago |
Robert Collins |
merge merge tweaks from aaron, which includes late |
|
|
|
contrib
|
1185.1.29
|
20 years ago |
Robert Collins |
merge merge tweaks from aaron, which includes late |
|
|
|
doc
|
1185.1.29
|
20 years ago |
Robert Collins |
merge merge tweaks from aaron, which includes late |
|
|
|
man1
|
2425.1.1
|
18 years ago |
Robert Collins |
``make docs`` now creates a man page at ``man1/bzr |
|
|
|
tools
|
1185.1.29
|
20 years ago |
Robert Collins |
merge merge tweaks from aaron, which includes late |
|
|
|
.bzrignore |
2399.1.17
|
18 years ago |
John Arbash Meinel |
[merge] bzr.dev 2562 |
590 bytes |
|
|
.rsyncexclude |
1185.33.36
|
20 years ago |
Martin Pool |
Exclude more files from dumb-rsync upload |
203 bytes |
|
|
BRANCH.TODO |
2399.1.16
|
18 years ago |
John Arbash Meinel |
[merge] bzr.dev 2466 |
150 bytes |
|
|
bzr |
2597.1.1
|
18 years ago |
Ian Clatworthy |
(Ian Clatworthy) Prepare for 0.19 development |
4 KB |
|
|
bzr.ico |
1861.2.16
|
19 years ago |
Alexander Belchenko |
new official bzr.ico |
7.2 KB |
|
|
COPYING.txt |
1861.2.9
|
19 years ago |
Alexander Belchenko |
rename gpl.txt => COPYING.txt
|
17.5 KB |
|
|
generate_docs.py |
1861.2.7
|
19 years ago |
Alexander Belchenko |
merge bzr.dev |
2.9 KB |
|
|
INSTALL |
2382.2.6
|
18 years ago |
Martin Pool |
Recommendation to delete bzrlib when installing |
675 bytes |
|
|
Makefile |
2571.3.2
|
18 years ago |
Alexander Belchenko |
Build pyrex/C extensions for bzr.exe |
5.6 KB |
|
|
NEWS |
2598.6.4
|
18 years ago |
ghigo |
- Update NEWS
- Revert the change '%r' to '%s' for |
136 KB |
|
|
profile_imports.py |
1996.3.36
|
19 years ago |
John Arbash Meinel |
[merge] bzr.dev 2070 |
5.4 KB |
|
|
README |
2545.1.1
|
18 years ago |
Martin Pool |
Fix typo and remove version number from README |
2.4 KB |
|
|
setup.py |
2571.3.2
|
18 years ago |
Alexander Belchenko |
Build pyrex/C extensions for bzr.exe |
8.1 KB |
|
|
TODO |
2382.2.5
|
18 years ago |
Martin Pool |
Contents of TODO file moved into bug tracker |
115 bytes |
|
|