Closed Bug 1711742 Opened 4 years ago Closed 4 years ago

Add "branch" query string argument to pushloghtml to only list commits on the specified branch

Categories

(Developer Services :: Mercurial: hg.mozilla.org, enhancement)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: glob, Assigned: sheehan)

References

Details

Attachments

(1 file)

Add "branch" query string argument to pushloghtml to only list commits on the specified branch.

eg. https://hg.mozilla.org/releases/mozilla-esr78/pushloghtml?fromchange=FIREFOX_78_10_0esr_RELEASE&tochange=FIREFOX_78_10_1esr_RELEASE&branch=FIREFOX_ESR_78_10_X_RELBRANCH should only show commits on the FIREFOX_ESR_78_10_X_RELBRANCH branch.

I have a simple version of this mostly ready, just need to clean up the test case. Should be up for review later tonight/tomorrow. :)

Adds capabilities to filter returned pushlog results by a given Mercurial branch.
Checks for a branch query string parameter in the pushlog feed extension which
is passed through to the repo.pushlog.pushes query function. If the value of
this parameter is not None, we assert the value is a valid branch and filter
returned pushlog results that exist on the given branch.

Pushed by cosheehan@mozilla.com:
https://hg.mozilla.org/hgcustom/version-control-tools/rev/2361e2cb14da
pushlog: add a branch query string parameter to filter HTML pushlog r=mhentges

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: