Import code from old HG repository