lfconvert后合并Mercurial回购 [英] Merging mercurial repo after lfconvert

查看:85
本文介绍了lfconvert后合并Mercurial回购的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用largefiles扩展名来跟踪我的存储库中的二进制数据. 文档指出,您必须将常规"存储库转换为大文件"存储库. 像这样:

I want to use the largefiles extension to track binary data in my repos. The documentation states that you have to convert your "normal" repo to a "largefiles" repo. Like so:

hg lfconvert normal_repo largefiles_repo

是否可以将两个存储库转换成大文件存储库后合并,而不必在某个时间"将这两个存储库都转换. 还是所有回购协议必须共享一个共同的"lfconvert事件"才能在它们之间进行合并?

Is it possible to merge two repos after they have been converted to a largefiles repo without both of this repos to have been converted at the some "time". Or do all repos have to share a common "lfconvert event" to be able to merge between them?

推荐答案

看起来lfconvert从显示第一个大文件的位置开始重写存储库历史记录.从理论上讲,您可以将结果存储库合并到旧存储库中,但是旧存储库中的大文件(版本)也将在合并存储库中;您将最终得到一个具有两个根的存储库.

It looks like lfconvert rewrites repository history from the point where the first large file appears. You could theoretically merge the resulting repo in your old repo, but then the (versions of) large files you had in your old repository will also be in the merged repository; you will end up with a repository sporting two roots.

这篇关于lfconvert后合并Mercurial回购的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆