Date: Sun, 07 Sep 1997 18:55:13 -0700 From: Julian Elischer <julian@whistle.com> To: "info-cvs@prep.ai.mit.edu" <info-cvs@prep.ai.mit.edu> Cc: hackers@freebsd.org Subject: [RFC] Possible CVS change.. Message-ID: <34135B01.6201DD56@whistle.com>
index | next in thread | raw e-mail
Dear CVS guru's (and freebsd types CC'd),
By changing the following change:
(big isn't it?)
the following becomes possible:
cvs checkout -rMY_BRANCH -D"7 days ago" my-module
also
cvs update -rMY_BRANCH -D"May 1" my-module
is also allowable..
this seems useful to me
In fact I desperatly need this..
does anyone know if tis is a reasonable thing to do, (or not?)
if you are one of the maintainers I'd definitly like to hear from you,
as if I don't I'll add this change to the FreeBSD CVS mirror,
as we use many branches and not being able to check
them out to a past date is a real pain..
better methods are of course just as welcome,
e.g. "-rMY_BRANCH:May 1" would work just as well for me.
julian@freebsd.org
--- update.c Sun Sep 7 18:21:58 1997
+++ update.c.new Sun Sep 7 18:21:42 1997
@@ -491,7 +491,7 @@
&& tag != NULL
&& finfo->rcs != NULL)
{
- char *rev = RCS_getversion (finfo->rcs, tag, NULL, 1, NULL);
+ char *rev = RCS_getversion (finfo->rcs, tag, date, 1, NULL);
if (rev != NULL
&& !RCS_nodeisbranch (finfo->rcs, tag))
nonbranch = 1;
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?34135B01.6201DD56>
