##// END OF EJS Templates
bookmarks: recognize the current bookmark when the local encoding isn't UTF-8...
LUO Zheng -
r14559:e29821ca default
parent child Browse files
Show More
@@ -114,7 +114,7 b' def setcurrent(repo, mark):'
114 wlock = repo.wlock()
114 wlock = repo.wlock()
115 try:
115 try:
116 file = repo.opener('bookmarks.current', 'w', atomictemp=True)
116 file = repo.opener('bookmarks.current', 'w', atomictemp=True)
117 file.write(mark)
117 file.write(encoding.fromlocal(mark))
118 file.rename()
118 file.rename()
119 finally:
119 finally:
120 wlock.release()
120 wlock.release()
General Comments 0
You need to be logged in to leave comments. Login now