开发者

Migrating from CVS to Mercurial - how to handle cross-repo symbolic links?

开发者 https://www.devze.com 2022-12-26 16:31 出处:网络
I have a project that is stored in CVS as numerous modules/repositories. In several of the modules the CVS tree has symbolic links to the files in another tree.For example, the internal support tools

I have a project that is stored in CVS as numerous modules/repositories.

In several of the modules the CVS tree has symbolic links to the files in another tree. For example, the internal support tools have links to binary files (DLL, EXE) that are created and stored in the C# module.

In开发者_StackOverflow中文版 all cases, the files are modified only in in the module where the files exist and are treated as read-only in the tree where the symbolic link exists. More often than not, the files are pulled to machines running MSWindows so the use of symbolic links on the developer machine is not an option.

My question is this: Is there a mechanism in Mercurial that can provide the same capabilities?


Those common files should be considered as subRepos.

See "Mercurial Subrepos - How do you create them and how do they work?".

You will then be able to reference those "files in another tree" as a nested repository within your main development repos.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号