Page MenuHomePhabricator

Make updating a revision with the same active diff a no-op
ClosedPublic

Authored by epriestley on Mar 29 2018, 4:54 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Nov 20, 12:33 PM
Unknown Object (File)
Tue, Nov 19, 7:04 AM
Unknown Object (File)
Sun, Nov 10, 11:09 PM
Unknown Object (File)
Sat, Nov 9, 3:04 PM
Unknown Object (File)
Oct 21 2024, 5:40 AM
Unknown Object (File)
Oct 18 2024, 9:35 AM
Unknown Object (File)
Oct 17 2024, 8:42 PM
Unknown Object (File)
Oct 4 2024, 5:01 AM
Subscribers
None

Details

Summary

Ref T13114. See PHI515. Updating a revision with the same, currently active diff became an error at some point (probably D19175). This is inconsistent; make it an allowable no-op instead.

Test Plan
  • Updated a revision's diff via Conduit.
  • Updated to the same diff, no-op.
  • Tried to update a different revision, error ("already attached elsewhere").
  • Updated with a different diff.
  • Tried to update with the original diff, error ("previously attached version").

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable