Page MenuHomePhabricator

diffusion.getcommits seenOnBranches replacement?
Closed, ResolvedPublic

Description

Hey Evan,

We upgraded a week or two ago and seenOnBranches is no longer returned with diffusion.getcommits (which I understand is marked as deprecated). What's the current preferred method to get the branches for a particular commit hash? diffusion.querycommits doesn't have this information.

Thanks!

Event Timeline

mattlqx assigned this task to epriestley.
mattlqx raised the priority of this task from to Needs Triage.
mattlqx updated the task description. (Show Details)
mattlqx added a project: Diffusion.
mattlqx added a subscriber: mattlqx.

The preferred call is diffusion.branchquery with parameter contains, which should list all branches.

(All branches containing the commit, that is. This is slightly different from seenOnBranches, which listed a sort of arbitrary set of branches and stopped including branches once the commit appeared on an "autoclose" branch.)

That should work. Thank you.