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)
Wed, Apr 10, 4:22 AM
Unknown Object (File)
Feb 14 2024, 11:08 PM
Unknown Object (File)
Feb 6 2024, 10:55 PM
Unknown Object (File)
Feb 6 2024, 2:37 AM
Unknown Object (File)
Dec 26 2023, 6:02 PM
Unknown Object (File)
Dec 22 2023, 4:06 PM
Unknown Object (File)
Dec 12 2023, 3:00 AM
Unknown Object (File)
Nov 30 2023, 5:34 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.