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
F17659963: D19267.diff
Sat, Jul 12, 2:56 PM
Unknown Object (File)
Wed, Jul 2, 5:01 AM
Unknown Object (File)
May 11 2025, 3:33 PM
Unknown Object (File)
May 8 2025, 9:56 AM
Unknown Object (File)
Apr 16 2025, 4:45 PM
Unknown Object (File)
Apr 2 2025, 5:39 PM
Unknown Object (File)
Apr 2 2025, 1:50 PM
Unknown Object (File)
Apr 1 2025, 10:32 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