fix 'convert' with single commit repositories
The attached patch passes the three 'convert' testcases, and also is
able to successfully convert the git.git repository.
To run the tests, do:
cd tests/
python run-tests.py
See http://www.selenic.com/mercurial/wiki/index.cgi/WritingTests for
more information on writing tests.