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)
Apr 22 2026, 3:36 PM
Unknown Object (File)
Apr 15 2026, 8:59 PM
Unknown Object (File)
Apr 15 2026, 5:47 PM
Unknown Object (File)
Mar 4 2026, 9:13 AM
Unknown Object (File)
Dec 5 2025, 1:43 AM
Unknown Object (File)
Dec 4 2025, 2:56 PM
Unknown Object (File)
Nov 21 2025, 1:59 PM
Unknown Object (File)
Nov 3 2025, 12:11 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