Fix argument error.
Cache result of hg repository