问题
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