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
F22712731: D7820.id17696.diff
Sat, Oct 3, 2:47 PM
F22712722: D7820.id17696.diff
Sat, Oct 3, 2:46 PM
F22518222: D7820.diff
Sun, Sep 20, 11:36 AM
Unknown Object (File)
Sep 1 2026, 12:39 PM
Unknown Object (File)
Jun 28 2026, 5:13 AM
Unknown Object (File)
Jun 22 2026, 6:32 PM
Unknown Object (File)
Jun 6 2026, 11:42 PM
Unknown Object (File)
Apr 2 2026, 8:38 AM
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.