dc0687669ac5 — Oben Sonne 10 years ago
Fix detection of bookmarks track.current option
1 files changed, 1 insertions(+), 1 deletions(-)

M compass.py
M compass.py +1 -1
@@ 80,7 80,7 @@ class RepoInfo(object):
         self.head_revs = _csi2rev(repo, repo.heads())
         
         # name of currently active bookmark (if enabled)
-        self.bm_track_current = repo.ui.config("bookmarks", "track.current")
+        self.bm_track_current = repo.ui.configbool("bookmarks", "track.current")
         bm_current_file = os.path.join(repo.root, ".hg", "bookmarks.current")
         if self.bm_track_current and os.path.exists(bm_current_file):
             fp = open(bm_current_file)