Show More
@@ -48,9 +48,8 b' def write(repo):' | |||||
48 | try: |
|
48 | try: | |
49 | bms = repo.opener('bookmarks').read() |
|
49 | bms = repo.opener('bookmarks').read() | |
50 | except IOError: |
|
50 | except IOError: | |
51 |
bms = |
|
51 | bms = '' | |
52 | if bms is not None: |
|
52 | repo.opener('undo.bookmarks', 'w').write(bms) | |
53 | repo.opener('undo.bookmarks', 'w').write(bms) |
|
|||
54 |
|
53 | |||
55 | if repo._bookmarkcurrent not in refs: |
|
54 | if repo._bookmarkcurrent not in refs: | |
56 | setcurrent(repo, None) |
|
55 | setcurrent(repo, None) |
General Comments 0
You need to be logged in to leave comments.
Login now