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.
import doctestimport mercurial.changelog# test doctest from changelogdoctest.testmod(mercurial.changelog)