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
Unknown Object (File)
Sat, May 10, 1:32 PM
Unknown Object (File)
Wed, Apr 30, 3:54 AM
Unknown Object (File)
Sun, Apr 27, 4:22 PM
Unknown Object (File)
Apr 13 2025, 6:02 PM
Unknown Object (File)
Apr 12 2025, 7:29 AM
Unknown Object (File)
Apr 11 2025, 12:09 PM
Unknown Object (File)
Mar 17 2025, 11:38 PM
Unknown Object (File)
Mar 4 2025, 6:49 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