revsingle: fix silly API issue (issue2992)

--HG--
branch : stable
revert: make backup when unforgetting a file (issue3423)

This skips the backup if it would be a duplicate.

--HG--
branch : stable