Rev 4517: (bialix) Deprecate bzrlib.user_encoding in file:///home/pqm/archives/thelove/bzr/%2Btrunk/
Canonical.com Patch Queue Manager
pqm at pqm.ubuntu.com
Wed Jul 8 16:42:50 BST 2009
At file:///home/pqm/archives/thelove/bzr/%2Btrunk/
------------------------------------------------------------
revno: 4517 [merge]
revision-id: pqm at pqm.ubuntu.com-20090708154248-8sw3wh0tfpfpomrq
parent: pqm at pqm.ubuntu.com-20090708062954-l77om4r4z10qvfos
parent: john at arbash-meinel.com-20090708144029-2ey6t9jhfh8javk3
committer: Canonical.com Patch Queue Manager <pqm at pqm.ubuntu.com>
branch nick: +trunk
timestamp: Wed 2009-07-08 16:42:48 +0100
message:
(bialix) Deprecate bzrlib.user_encoding
modified:
NEWS NEWS-20050323055033-4e00b5db738777ff
bzrlib/__init__.py __init__.py-20050309040759-33e65acf91bbcd5d
=== modified file 'NEWS'
--- a/NEWS 2009-07-06 06:46:30 +0000
+++ b/NEWS 2009-07-08 14:40:29 +0000
@@ -120,6 +120,11 @@
Internals
*********
+* ``bzrlib.user_encoding`` is now officially deprecated. It is not
+ possible to write a deprecation wrapper, but the variable will be
+ removed in the near future. Use ``bzrlib.osutils.get_user_encoding()``
+ instead. (Alexander Belchenko)
+
* Command lookup has had hooks added. ``bzrlib.Command.hooks`` has
three new hook points: ``get_command``, ``get_missing_command`` and
``list_commands``, which allow just-in-time command name provision
=== modified file 'bzrlib/__init__.py'
--- a/bzrlib/__init__.py 2009-06-26 09:24:34 +0000
+++ b/bzrlib/__init__.py 2009-07-08 14:40:29 +0000
@@ -37,7 +37,7 @@
IGNORE_FILENAME = ".bzrignore"
-# XXX: Compatibility. This should probably be deprecated
+# XXX: Deprecated as of bzr-1.17 use osutils.get_user_encoding() directly
user_encoding = get_user_encoding()
More information about the bazaar-commits
mailing list