Convert backup/undofile pruning to lua

pull out last_modified_days

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

mercurial