make it use the value of the revision before any post-commit magic has occurred. Fixes T4754
Details
Details
- Reviewers
epriestley - Maniphest Tasks
- T4754: "Accepted Differential Revision exists" Herald field is fairly meaningless
T4574: xxxxxxx"><//'\'\ - Commits
- Restricted Diffusion Commit
rP2f4addc67113: Diffusion / Herald - tweak "Accepted Differential Revision exists" Herald field
made a herald rule that said "if revision exists, and revision accept does not exists, block push". tried to push a commit that had a revision that wasn't accepted and I was blocked.
Diff Detail
Diff Detail
- Repository
- rP Phabricator
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
Comment Actions
One inline.
src/applications/repository/worker/commitmessageparser/PhabricatorRepositoryCommitMessageParserWorker.php | ||
---|---|---|
113–115 | We should only write this if it isn't set yet. Otherwise, reparsing a commit with scripts/repository/reparse.php will incorrectly overwrite it with "closed". |