Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.
> Would the list members please advise me on how to use CVS to > achieve the following. > > 1. Certain files within the module not to always return the > HEAD version, but a particular tagged version. > <.snip.> > The intention of this would be to get the check-out of > 'ThatProject', with no tag specified (implying HEAD) to give > me the version of Projects/include/header1.h with tag > V1.2.3.4 and the version of Projects/include/header2.h with > tag V2.3.4.5, rather than a more recent version if one exists. > > I'm assuming that this feature is not currently available and > implemented to work in this way. I'd appreciate if anyone > who's needed this sort of functionality would explain to me > how they've achieved it. You're right, it's not possible this way at the moment. What I'd do would be to use something like a LASTEST_PROJECTX tag and move that forward whenever you do a new release of PROJECTX. The people checking out PROJECTX should always use this tag. Once checked out, they could even just run update on their sandboxes and they will always get the latest approved delivery project. Another possible approach would be to do all your work on branches and only when you got another approved project state merge/commit to the trunk. This approach allows your testers to check out HEAD but it will fall to pieces as soon as there are shared libraries involved as you would not be able to differentiate between the projects. > 2. To make a file accessible only via a reference in the > modules files, and not via its name. > <.snip.> > Ie > There's a file Projects/include/header1.h > The modules file references this with a line like : > ThatProject Projects/include header1.h > > I'd like them to be able to check out 'ThatProject' but not > to be able to check out 'Projects/include/header1.h' or > 'Projects/include'. > > Can this be achieved ? No, I don't think so. Not at the moment at least. Maybe if Tony invented ACLs for virtual modules that were able to override the ACLs on the physical modules... Hope this helps. Oliver Giesen ------ Now offering professional (Win)CVS(NT) consulting services! Look at http://lucatec.net/wincvsnt for details. In everybody's best interest, please do not post or CC technical questions to me in private unless you are interested in commercial support. I will generally forward my replies to such posts to the CVSGUI list without further notice. ---- ------------------ MSN: ogiesen at hotmail.com ICQ: 18777742 (http://wwp.icq.com/18777742) JID: ogiesen at jabber.org