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)
Fri, Apr 19, 7:36 PM
Unknown Object (File)
Sun, Mar 31, 8:12 PM
Unknown Object (File)
Sun, Mar 31, 10:39 AM
Unknown Object (File)
Sun, Mar 31, 10:39 AM
Unknown Object (File)
Sun, Mar 31, 5:54 AM
Unknown Object (File)
Sun, Mar 31, 5:54 AM
Unknown Object (File)
Mar 16 2024, 2:09 AM
Unknown Object (File)
Feb 8 2024, 9:03 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