equal
deleted
inserted
replaced
154 """ |
154 """ |
155 Unset the active bookmark in this reposiotry. |
155 Unset the active bookmark in this reposiotry. |
156 """ |
156 """ |
157 wlock = repo.wlock() |
157 wlock = repo.wlock() |
158 try: |
158 try: |
159 try: |
159 repo.vfs.unlink('bookmarks.current') |
160 repo.vfs.unlink('bookmarks.current') |
160 repo._activebookmark = None |
161 repo._activebookmark = None |
161 except OSError, inst: |
162 except OSError, inst: |
162 if inst.errno != errno.ENOENT: |
163 if inst.errno != errno.ENOENT: |
163 raise |
164 raise |
|
165 finally: |
164 finally: |
166 wlock.release() |
165 wlock.release() |
167 |
166 |
168 def isactivewdirparent(repo): |
167 def isactivewdirparent(repo): |
169 """ |
168 """ |