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
F13100603: D20961.diff
Fri, Apr 26, 7:03 PM
Unknown Object (File)
Thu, Apr 25, 12:46 PM
Unknown Object (File)
Thu, Apr 25, 12:49 AM
Unknown Object (File)
Tue, Apr 2, 10:45 PM
Unknown Object (File)
Feb 20 2024, 10:03 PM
Unknown Object (File)
Feb 13 2024, 5:12 PM
Unknown Object (File)
Jan 15 2024, 9:34 PM
Unknown Object (File)
Jan 9 2024, 8:20 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