Commits

Oben Sonne committed dc06876

Fix detection of bookmarks track.current option

Comments (0)

Files changed (1)

         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)