Page MenuHomePhabricator

When publishing a commit, copy "Related Tasks" from the associated revision (if one exists)
ClosedPublic

Authored by epriestley on Jan 30 2020, 6:32 PM.
Tags
None
Referenced Files
F19164543: D20961.id49937.diff
Mon, Dec 15, 6:07 PM
F19074767: D20961.id.diff
Mon, Dec 1, 6:54 AM
F19069027: D20961.diff
Sun, Nov 30, 12:55 PM
F18855661: D20961.id.diff
Nov 1 2025, 6:10 AM
F18849785: D20961.diff
Oct 30 2025, 12:15 PM
F18772329: D20961.id.diff
Oct 9 2025, 1:51 AM
F18771554: D20961.id.diff
Oct 8 2025, 8:20 PM
F18767829: D20961.diff
Oct 8 2025, 12:27 AM
Subscribers
None

Details

Summary

Fixes T13463. Currently, if you use the web UI to set "Related Tasks" for a revision, the resulting commit does not link to the tasks.

If you use "Ref ..." in the message instead, the resulting commit does link to the tasks.

Broadly, this should all be cleaner (see T3577) but we can step toward better behavior by just copying these edges when commits are published.

Test Plan
  • Created a revision.
  • Used the web UI to edit "Related Tasks".
  • Landed the revision.
  • Saw the commit link to the tasks as though I'd used "Ref ..." in the message.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable