Page MenuHomePhabricator

Only recognize "Fixes ..." in main revision content like the Summary or Test Plan
ClosedPublic

Authored by epriestley on Apr 30 2017, 7:48 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Dec 6, 5:59 AM
Unknown Object (File)
Nov 19 2024, 12:45 PM
Unknown Object (File)
Nov 14 2024, 8:32 PM
Unknown Object (File)
Nov 10 2024, 8:20 PM
Unknown Object (File)
Nov 7 2024, 2:14 PM
Unknown Object (File)
Oct 26 2024, 3:40 AM
Unknown Object (File)
Oct 19 2024, 12:10 PM
Unknown Object (File)
Oct 16 2024, 11:06 AM
Subscribers
None

Details

Summary

Fixes T12642. Currently, writing "Fixes T..." in a comment gets picked up as a formal "fixes".

This is a bit confusing, and can also give you a "no effect" error if you "fixes ..." a task which is already "fixes"'d.

We could make the duplicate action a non-error, but just prevent the text from having an effect instead, which seems cleaner.

Test Plan
  • Wrote "Fixes ..." in a summary, saw a "fixes" relationship established.
  • Wrote "Fixes ..." in a comment, got a "mention" instead.
  • var_dump()'d some stuff as a sanity check, looked reasonable.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable