changeset 14559 | e29821ca94cf |
parent 14268 | a55a0045704c |
child 14845 | 677339529a53 |
--- a/mercurial/bookmarks.py Thu Jun 09 10:15:24 2011 +1000 +++ b/mercurial/bookmarks.py Wed Jun 08 21:25:18 2011 +0800 @@ -114,7 +114,7 @@ wlock = repo.wlock() try: file = repo.opener('bookmarks.current', 'w', atomictemp=True) - file.write(mark) + file.write(encoding.fromlocal(mark)) file.rename() finally: wlock.release()