Fix bookmarks.readcurrent / ._readactive in grconfig
1 files changed, 3 insertions(+), 1 deletions(-) M guestrepo/grconfig.py
M guestrepo/grconfig.py +3 -1
@@ 89,7 89,9 @@ class Guestrepo(object): try: current_bookmark = bookmarks.readcurrent(guestrepo) except AttributeError: - current_bookmark = bookmarks.readactive(guestrepo) + # TODO: rework to correct Mercurial interface + current_bookmark = bookmarks._readactive(guestrepo, + guestctx.bookmarks()) if current_bookmark: json_dict['current_bookmark'] = current_bookmark