Date: Tue, 14 Aug 2001 16:47:17 +0100 From: Josef Karthauser <joe@tao.org.uk> To: Matt Dillon <dillon@earth.backplane.com> Cc: Eivind Eklund <eivind@FreeBSD.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: CVS patch implements update -T (was Re: Remote CVS/Template) Message-ID: <20010814164717.A623@tao.org.uk> In-Reply-To: <200108111945.f7BJjIo19532@earth.backplane.com>; from dillon@earth.backplane.com on Sat, Aug 11, 2001 at 12:45:18PM -0700 References: <3B4F1FCD.7F2D4842@FreeBSD.org> <20010713120140Q.jkh@osd.bsdi.com> <20010713211017.A57434@heechee.tobez.org> <20010713123241X.jkh@osd.bsdi.com> <200107132214.f6DMET571067@earth.backplane.com> <20010715143503.A10888@FreeBSD.org> <20010810133132.G624@tao.org.uk> <200108111945.f7BJjIo19532@earth.backplane.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--opJtzjQTFsWo+cga Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Aug 11, 2001 at 12:45:18PM -0700, Matt Dillon wrote: > Ok, here is a patch. I think this is fairly reasonable. It handles > the case where the developer normally operates from a local CVS tree > (e.g. for cvs update), and may or may not use an override when comitt= ing. >=20 > cvs update -T >=20 > typical use: Add 'T' option to your ~/.cvsrc file for the update com= mand. >=20 > This option will create/update CVS/Template by copying > (CVSROOT)/rcstemplate to CVS/Template if the mtimes do not match or > CVS/Template is found not to exist. It will call setutimes() to > force the mtimes to match after the copy succeeds for more optimal > operation. >=20 > (I haven't included the manual page update to this patch set yet). >=20 > -Matt I like the basic idea, but copying ${CVSROOT}/rcstemplate feels like a hack. The reason is that rcstemplate isn't a stock cvsroot file. It's specified in the ${CVSROOT}/rcsinfo file, which is pattern matched by directory name before the template file is selected. Ideally the 'cvs -T' command should process this file to work out which file to copy instead of blindly using rcstemplate. Joe --opJtzjQTFsWo+cga Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjt5SAUACgkQXVIcjOaxUBYtlQCeMRdYIZ1FsObrBd97j+LpofzW XQAAnAlHbQn9RoTz7MzHf7kbweW/RcEs =2QdB -----END PGP SIGNATURE----- --opJtzjQTFsWo+cga-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010814164717.A623>