Page MenuHomePhabricator

Add a "branches" rule for Herald commit rules
ClosedPublic

Authored by epriestley on Dec 23 2013, 7:16 PM.
Tags
None
Referenced Files
Unknown Object (File)
Apr 2 2026, 8:38 AM
Unknown Object (File)
Mar 29 2026, 1:14 AM
Unknown Object (File)
Mar 14 2026, 3:57 AM
Unknown Object (File)
Feb 6 2026, 10:15 PM
Unknown Object (File)
Feb 5 2026, 4:57 PM
Unknown Object (File)
Feb 1 2026, 9:20 PM
Unknown Object (File)
Jan 10 2026, 1:06 AM
Unknown Object (File)
Nov 30 2025, 10:22 PM
Subscribers

Details

Summary

Fixes T4195. Allows you to write a rule against a commit's branches.

This completes outstanding work on T4195.

Test Plan

Pushed to Git and Mercurial repositories and verified branches were selected correctly by examining transcripts.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

src/applications/diffusion/engine/DiffusionCommitHookEngine.php
431

This fixes a bug where we could update the wrong ref when a push includes multiple branches.