improve hg importer remote import performance
Merge remote-tracking branch 'origin/testing' into testing