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)
Fri, May 3, 5:16 AM
Unknown Object (File)
Sat, Apr 27, 12:43 AM
Unknown Object (File)
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)
Apr 2 2024, 10:45 PM
Unknown Object (File)
Feb 20 2024, 10:03 PM
Unknown Object (File)
Feb 13 2024, 5:12 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
Branch
ref1
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 23763
Build 32680: Run Core Tests
Build 32679: arc lint + arc unit