In my project I have a directory structure like this :
project
--common
--subproject
--common (junction, not a copy)
The subproject needs some files from common
. Therefore I created a 'junction' (in XP using the sysinternals command) to be able to see and make changes in common
from within the subproject.
This works like a charm, any changes to both commons are immediately on both common
since in fact it points to the same folder.
Then I made a separate project in Eclipse for the subproject folder and its own svn repository.
But when I want to commit the subproject, it wants to commit the 'common' folder as if it were a real folder, but in fact this folder needs to be committed only to its parents repository!
Is there a way of telling svn to make commits to a different repository than its own?
svn:externals
is not a good solution since this creates duplicate sources, and makes it even harder to maintain, because it's not automatically kept in sync.