I am using SVN and my repository contains a trunk:
trunk
|
|_____A
|
|_____B
|
|_____C
I also have 2 branches with the same structure as the trunk:
branch
|
|_____DEV
|
|_____A
|
|_____B
|
|_____C
|
|_____PROD
|
|_____A
|
|_____B
|
|_____C
The trunk is used for ongoing development and the branches have the same structure as in the trunk but for different environments (i.e. DEV and PROD). I have a particular folder (folder 'A') common in both the trunk and the DEV branch which I would like to keep in synch i.e. any changes done in folder 'A' in the trunk are reflected automatically in the DEV branch in folder 'A'.
Which is the way to go? I have tried to build a post-commit script so that every change done in the trunk is committed to the branch automatically but till now I haven't succedded.