Britain said on Tuesday it would not compromise on its commitment to Hong Kong freedoms and cautioned China that repression was no way to solve the crisis in the former British colony.