Compressing the repository