Mercurial > hg
comparison mercurial/bookmarks.py @ 26781:1aee2ab0f902
spelling: trivial spell checking
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Sat, 17 Oct 2015 00:58:46 +0200 |
parents | 46dec89fe888 |
children | 2d79a354d843 |
comparison
equal
deleted
inserted
replaced
26780:bbf544b5f2e9 | 26781:1aee2ab0f902 |
---|---|
169 wlock.release() | 169 wlock.release() |
170 repo._activebookmark = mark | 170 repo._activebookmark = mark |
171 | 171 |
172 def deactivate(repo): | 172 def deactivate(repo): |
173 """ | 173 """ |
174 Unset the active bookmark in this reposiotry. | 174 Unset the active bookmark in this repository. |
175 """ | 175 """ |
176 wlock = repo.wlock() | 176 wlock = repo.wlock() |
177 try: | 177 try: |
178 repo.vfs.unlink('bookmarks.current') | 178 repo.vfs.unlink('bookmarks.current') |
179 repo._activebookmark = None | 179 repo._activebookmark = None |