implement a patch function that results in (almost) always calling the correct destructors

(0) -1000 -300 -100 -30 -10 -1 +1 +10 +30 tip

mercurial