[MERGE] fix formatting of ImmortalPendingDeletion error message.
Alexander Belchenko
bialix at ukr.net
Tue Nov 13 11:05:29 GMT 2007
Today I ran 'bzr up' in bound branch and got unprintable exception error:
(most recent call last):
File "bzrlib\commands.pyc", line 802, in run_bzr_catch_errors
File "bzrlib\commands.pyc", line 758, in run_bzr
File "bzrlib\commands.pyc", line 492, in run_argv_aliases
File "bzrlib\builtins.pyc", line 1038, in run
File "bzrlib\workingtree.pyc", line 2109, in update
File "bzrlib\mutabletree.pyc", line 51, in tree_write_locked
File "bzrlib\workingtree.pyc", line 2149, in _update_tree
File "bzrlib\merge.pyc", line 1095, in merge_inner
File "bzrlib\merge.pyc", line 376, in do_merge
File "bzrlib\merge.pyc", line 497, in __init__
File "bzrlib\transform.pyc", line 843, in apply
File "bzrlib\transform.pyc", line 184, in finalize
ImmortalPendingDeletion: Unprintable exception ImmortalPendingDeletion:
dict={'_preformatted_string': None, 'pending_deletion':
u'C:/work/Bazaar/plugins-repo/qbzr/.bzr/checkout/pending-deletion'},
fmt='Unable to delete transform temporary directory\n
%(pending_deletion)s. Please examine %(pending_deletions)s to see if
it\n contains any files you wish to keep, and delete it when you are
done.', error=KeyError(u'pending_deletions',)
There is typo in format string of ImmortalPendingDeletion.
So I'm writing test and fix for this case.
Alexander
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: bzr-mail-cxlxf6.patch
Url: https://lists.ubuntu.com/archives/bazaar/attachments/20071113/886d7332/attachment-0001.diff
More information about the bazaar
mailing list