Merging mercurial repo after lfconvert

江枫思渺然 提交于 2020-01-16 21:55:49

问题


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

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?


回答1:


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.



来源:https://stackoverflow.com/questions/13931248/merging-mercurial-repo-after-lfconvert

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!