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
F15524091: D7820.diff
Mon, Apr 21, 5:55 AM
F15519202: D7820.id17707.diff
Sat, Apr 19, 8:45 PM
F15515930: D7820.id17696.diff
Fri, Apr 18, 2:38 PM
F15513785: D7820.id.diff
Thu, Apr 17, 9:51 PM
F15510023: D7820.diff
Wed, Apr 16, 6:07 PM
F15430185: D7820.id.diff
Mar 24 2025, 6:23 AM
Unknown Object (File)
Feb 27 2025, 4:20 AM
Unknown Object (File)
Feb 25 2025, 8:51 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.