RE: FW: RE: Roadmap for 1.1
From: Walter Nicholls <walter.nicholls_at_cornerstone.co.nz>
Date: 2004-04-02 06:08:58 CEST
> Whatever we do, we should not implement anything even remotely
God no. Those poor VSS shared files with no true home to call their own.
The only use I've made for shared files is with 'library' code common to a number of applications, or modules within an application. In nearly every case it is a whole directory full and it is a real pain in VSS to have to manually share each file (usually missing one). And then some developer in a moment of vapidity adds the missing file manually and we've got a copy that isn't linked to the rest.
Call them symbolic links, call them aliases, I just want //..repos1../library/master/*.(h|cpp|etc) to be available in //..repos2../app2/uselibrary/*.(h|cpp) AND I want commits to ../uselibrary/xyz.h to update the master copy, not branch the local tree.
In this respect, svn:externals is a hack which *should* work, but the commits don't work right. The lovely think about svn:externals is that they can point external to the repository - so I'd also like it if symlinks or whatever were able to point to a different repository. This might be hard to cater for but it would make 'vendor branches' trivial. Just point //../svn.collab.net/subversion/apr/ to symlink to //..svn.apache.org/apr/branches/2.0 and update what the symlink contains when you want a new version. (Effectively I guess the client-side code would run twice, ie the server would have to do the client thing. Authentication pass-through and all ... aargh!)
Actually I'd settle for symlinks being readonly - ie to make changes to the master copy, you must change the master copy. As long as it isn't possible to accidentally commit changes against the symlink and thus fork the source.
> [use tags instead of named revisions]
- Walter
---------------------------------------------------------------------
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.