在Mercurial中移动/重命名二进制文件时避免重复
Mercurial MOVE/RENAME命令似乎已删除+复制操作,当二进制文件重命名或移动时,该气球是一个存储库。例如,
hg mv foo.bin bar.bin
hg rename bar.bin goo.bin
存储库现在包含3个相同的foo.bin副本。回想起来,应该使用大文件扩展名,但是假设文件已经投入,是否有办法避免这种重复?
The mercurial move/rename commands seem to be delete+copy operations, this balloons a repository when binary files are just renamed or moved. With for example
hg mv foo.bin bar.bin
hg rename bar.bin goo.bin
repository now contains 3 identical copies of foo.bin. In retrospect the largefiles extension should be used, but assuming that files are already committed, is there a way to avoid this duplication?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论