Show More
@@ -249,7 +249,14 b' def update(repo, parents, node):' | |||||
249 | update = True |
|
249 | update = True | |
250 |
|
250 | |||
251 | if update: |
|
251 | if update: | |
252 | marks.write() |
|
252 | lock = tr = None | |
|
253 | try: | |||
|
254 | lock = repo.lock() | |||
|
255 | tr = repo.transaction('bookmark') | |||
|
256 | marks.recordchange(tr) | |||
|
257 | tr.close() | |||
|
258 | finally: | |||
|
259 | lockmod.release(tr, lock) | |||
253 | return update |
|
260 | return update | |
254 |
|
261 | |||
255 | def listbookmarks(repo): |
|
262 | def listbookmarks(repo): |
General Comments 0
You need to be logged in to leave comments.
Login now