Show More
@@ -117,7 +117,8 class bmstore(dict): | |||
|
117 | 117 | rbm._writeactive() |
|
118 | 118 | |
|
119 | 119 | with repo.wlock(): |
|
120 |
file_ = repo.vfs('bookmarks', 'w', atomictemp=True |
|
|
120 | file_ = repo.vfs('bookmarks', 'w', atomictemp=True, | |
|
121 | checkambig=True) | |
|
121 | 122 | try: |
|
122 | 123 | self._write(file_) |
|
123 | 124 | except: # re-raises |
@@ -131,7 +132,8 class bmstore(dict): | |||
|
131 | 132 | return |
|
132 | 133 | with self._repo.wlock(): |
|
133 | 134 | if self._active is not None: |
|
134 |
f = self._repo.vfs('bookmarks.current', 'w', atomictemp=True |
|
|
135 | f = self._repo.vfs('bookmarks.current', 'w', atomictemp=True, | |
|
136 | checkambig=True) | |
|
135 | 137 | try: |
|
136 | 138 | f.write(encoding.fromlocal(self._active)) |
|
137 | 139 | finally: |
General Comments 0
You need to be logged in to leave comments.
Login now