convert: clear the dirstate before a conversion, invalidate it afterwards
Clearing it before the conversion protects us from whatever data were
there (file copies in particular).
Invalidating it after the conversion avoids writing a possibly
inconsistent dirstate to disk.
assuming destination git-repo-hg
initializing destination git-repo-hg repository
scanning source...
sorting...
converting...
1 t1
0 t2