setparents: drop copies from dropped p2 (issue3843)

--HG--
branch : stable
Added tag 2.5.2 for changeset 5b7175377bab

--HG--
branch : stable
Added signature for changeset 5b7175377bab

--HG--
branch : stable