Skip to content
Snippets Groups Projects

evolve: provide cache argument to obsutil.successorssets() correctly

Merged Anton Shestakov requested to merge topic/stable/closest-is-not-your-cache into branch/stable

After 68f3e819d41d (4.3) the 3rd argument to that function is closest.

--HG-- branch : stable

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Author Maintainer

    I think pytype doesn't detect this because it doesn't consider closest to be bool-only just because it says closest=False in obsutil.successorssets() signature (right now I see def successorssets(repo, initialnode, closest = ..., cache = ...) -> Any: ...). Technically, pytype is correct.

Please register or sign in to reply
Loading