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
F13264876: D7820.id.diff
Mon, May 27, 10:56 PM
F13262495: D7820.diff
Mon, May 27, 2:11 AM
F13245800: D7820.diff
Thu, May 23, 6:15 AM
F13236313: D7820.id17707.diff
Tue, May 21, 9:09 AM
F13224054: D7820.diff
Sun, May 19, 6:06 AM
F13209345: D7820.id17696.diff
Thu, May 16, 11:33 PM
F13178812: D7820.diff
Wed, May 8, 8:42 PM
Unknown Object (File)
May 1 2024, 9:11 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

Branch
hbranch1
Lint
Lint Passed
Unit
No Test Coverage

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.