Re: FreeBSD CVS tag
At 2008-09-17T10:15:37-04:00, Lowell Gilbert wrote: > The comments in the CVSROOT-src/config file seem to confirm that, > although I'm not sure where the definition is *really* added. I missed that config file. OTOH, there is http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/CVSROOT/options in support of the tagexpand approach. > To be (even more) honest, I have a strong desire *not* to be a CVS > expert. Indeed :-) Since switching over to Mercurial, my interest in CVS has been somewhat cursory, as well. Anyway, thanks for the response. Raghu. -- N. Raghavendra <[EMAIL PROTECTED]> | http://www.retrotexts.net/ Harish-Chandra Research Institute | http://www.mri.ernet.in/ See message headers for contact and OpenPGP information. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD CVS tag
"N. Raghavendra" <[EMAIL PROTECTED]> writes: > At 2008-09-16T14:40:15-04:00, Lowell Gilbert wrote: > >> The CVSROOT/config file supports "LocalKeyword". > > Is it supported in the version of CVS that comes with the base system? > It didn't work for me with the system CVS. According to the CVS CVS > repo at http://cvs.savannah.gnu.org/viewvc/cvs/ccvs/ the LocalKeyword > mechanism was introduced with CVS 1.12.2. The system CVS in FreeBSD > 7-STABLE seems to be 1.11.17. I think even the tagexpand capability > comes through FreeBSD patches to that version. I thought that was how the "FreeBSD" keyword was implemented. LocalKeyword was widely supported with patches before it was added to the official CVS development tree... The comments in the CVSROOT-src/config file seem to confirm that, although I'm not sure where the definition is *really* added. I'm too lazy to track it down now, though. To be (even more) honest, I have a strong desire *not* to be a CVS expert. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD CVS tag
At 2008-09-16T14:40:15-04:00, Lowell Gilbert wrote: > The CVSROOT/config file supports "LocalKeyword". Is it supported in the version of CVS that comes with the base system? It didn't work for me with the system CVS. According to the CVS CVS repo at http://cvs.savannah.gnu.org/viewvc/cvs/ccvs/ the LocalKeyword mechanism was introduced with CVS 1.12.2. The system CVS in FreeBSD 7-STABLE seems to be 1.11.17. I think even the tagexpand capability comes through FreeBSD patches to that version. Raghu. -- N. Raghavendra <[EMAIL PROTECTED]> | http://www.retrotexts.net/ Harish-Chandra Research Institute | http://www.mri.ernet.in/ See message headers for contact and OpenPGP information. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD CVS tag
At 2008-09-15T16:31:16+02:00, Polytropon wrote: > 1. How is it possible to include a sub-path in the CVS file field, but >not the absolute path of the file? Use the `CVSHeader' keyword instead of `Header'. The CVSHeader keyword expands to the relative path of the file in the CVS repository. See the CVS manual at http://cvsman.com/cvs-1.12.12/cvs_100.php > 2. How is it possible to change $Id$ or $Header$ to a custom string, >let's say the name of a company or a project, by not breaking (!) >the CVS compatibility (no s/Header/Foobar/). > > Example for goal: > > $StupidProject: src/mouse/beep.pl,v 1.2.4 2008/16/32 04:08:16 bob Exp $ CVS checkout `CVSROOT'. Create a file called `options' in the working copy of CVSROOT with the following contents: tag=StupidProject=CVSHeader tagexpand=iStupidProject CVS add and commit `options'. Now, only the `StupidProject' keyword will be expanded, leaving other keywords unexpanded. See: http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/CVSROOT/options http://dotat.at/writing/cvs-guidelines.html Raghu. -- N. Raghavendra <[EMAIL PROTECTED]> | http://www.retrotexts.net/ Harish-Chandra Research Institute | http://www.mri.ernet.in/ See message headers for contact and OpenPGP information. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD CVS tag
Polytropon <[EMAIL PROTECTED]> writes: I'm not sure how these are supported in the cvs version shipped with FreeBSD, but I'm pretty sure the answers are the same, and the functionality is supported standard in recent versions of CVS. > My questions: > > 1. How is it possible to include a sub-path in the CVS file field, but >not the absolute path of the file? I think you configure that with $CVSHeader$ instead of $Header$. Or maybe the other way around... > 2. How is it possible to change $Id$ or $Header$ to a custom string, >let's say the name of a company or a project, by not breaking (!) >the CVS compatibility (no s/Header/Foobar/). The CVSROOT/config file supports "LocalKeyword". -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"