2

I'm guesing 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

philant
  • 34,748
  • 11
  • 69
  • 112
Killrazor
  • 6,856
  • 15
  • 53
  • 69

2 Answers2

4

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

Community
  • 1
  • 1
Filburt
  • 17,626
  • 12
  • 64
  • 115
0

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.

bua
  • 4,761
  • 1
  • 26
  • 32