Enable the convert extension by adding this in the .hgrc:
[extensions]
convert=
Then:
hg convert --datesort git_repo location_of_new_hg_repo
Enable the convert extension by adding this in the .hgrc:
[extensions]
convert=
Then:
hg convert --datesort git_repo location_of_new_hg_repo