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
F14068556: D7820.diff
Tue, Nov 19, 11:01 PM
F14054153: D7820.diff
Fri, Nov 15, 10:52 PM
F14043433: D7820.diff
Tue, Nov 12, 10:11 AM
F14027692: D7820.diff
Fri, Nov 8, 8:51 AM
F13999658: D7820.diff
Thu, Oct 24, 4:15 PM
F13966248: D7820.diff
Oct 16 2024, 7:11 AM
F13966242: D7820.id.diff
Oct 16 2024, 7:08 AM
F13966239: D7820.id17696.diff
Oct 16 2024, 7:07 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.