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
F19101083: D19267.id.diff
Dec 5 2025, 1:43 AM
F19097848: D19267.diff
Dec 4 2025, 2:56 PM
F19005110: D19267.id.diff
Nov 21 2025, 1:59 PM
F18863565: D19267.diff
Nov 3 2025, 12:11 AM
F18783127: D19267.id46122.diff
Oct 13 2025, 4:02 AM
F18744059: D19267.id.diff
Oct 3 2025, 1:44 AM
F18737942: D19267.diff
Oct 1 2025, 1:25 PM
F18733792: D19267.id.diff
Sep 30 2025, 10:42 PM
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