开发者

Virtual copies of files in SVN?

开发者 https://www.devze.com 2023-01-21 02:41 出处:网络
I\'m guesin开发者_Go百科g if its possible to have virtual copies of my code with SVN. For example: imagine that I have two programs in my repository. Program A use a subset of files used by B.

I'm guesin开发者_Go百科g if its possible to have virtual copies of my code with SVN. For example: imagine that I have two programs in my repository. Program A use a subset of files used by B.

My question is if I could update a copy of a file in the context of program A, then commit in SVN and next time I update my code, I have the same copy in program A and B without the need to copy by hand this file.

It is posible? some help would be welcome


You should look into externals - there's also a post here on how to get started.


If you could use a special directory construction you could just check out your B to your A,
then add it to ignore in A. Then you can update in B directory.

0

精彩评论

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