Many places were doing repo[mark], which usually works, but it's
slightly incorrect: if the bookmark has a name that matches a full hex
nodeid of another node, then the context for the other node will be
returned instead. Also, I'm about to remove support for
repo[<namespace thing>] :)
Details
Details
- Reviewers
indygreg - Group Reviewers
hg-reviewers - Commits
- rHG81d35d5d35f9: bookmarks: introduce a repo._bookmarks.changectx(mark) method and use it
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Lint Skipped - Unit
Unit Tests Skipped
Event Timeline
Comment Actions
How do you feel about changectx instead of ctx? This would seemingly jive with other naming throughout the code base.
Comment Actions
I agree, that's better to make it clear that it's not some kind of bookmark context. Will change.