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)
Sun, Jan 12, 3:47 PM
Unknown Object (File)
Sat, Dec 28, 11:57 PM
Unknown Object (File)
Thu, Dec 26, 6:32 PM
Unknown Object (File)
Dec 18 2024, 11:58 AM
Unknown Object (File)
Dec 18 2024, 6:46 AM
Unknown Object (File)
Dec 17 2024, 1:41 AM
Unknown Object (File)
Dec 11 2024, 4:19 PM
Unknown Object (File)
Dec 7 2024, 11:38 PM
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