Skip to content
Snippets Groups Projects
Commit e3bb2a58 authored by Augie Fackler's avatar Augie Fackler
Browse files

bookmarks: remove changectx() method from bmstore (API)

All the callsites of this method have access to the repo, and I'd
rather not have to duplicate this across alternative bmstore
implementations. Besides, it feels like a bit of a layering violation.

.. api::

    `mercurial.bookmarks.bmstore` no longer has a convenience method
    for looking up changectx instances from a bookmark name. Use
    `repo[repo.bookmarks[name]]` intead of
    `repo.bookmarks.changectx(name)`.

Differential Revision: https://phab.mercurial-scm.org/D6884
parent 699102b1
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment