$ hg qimport -r tip $ hg qapplied 0.diff