implement -d option (issue #489) and various improvements default tip

(0) -30 -10 -1 tip

mercurial