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
F18772329: D20961.id.diff
Thu, Oct 9, 1:51 AM
F18771554: D20961.id.diff
Wed, Oct 8, 8:20 PM
F18767829: D20961.diff
Wed, Oct 8, 12:27 AM
F18764690: D20961.id49951.diff
Tue, Oct 7, 7:22 AM
F18753071: D20961.id49937.diff
Sat, Oct 4, 5:20 PM
F18726759: D20961.id.diff
Tue, Sep 30, 7:00 AM
F18642673: D20961.id49951.diff
Sep 19 2025, 12:29 AM
F18627897: D20961.diff
Sep 16 2025, 5:03 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