fix for issue
#602, enforce str when setting mercurial UI object. When this is used together with mercurial internal translation system...
fix for issue
#602, enforce str when setting mercurial UI object. When this is used together with mercurial internal translation system
it can lead to UnicodeDecodeErrors