From owner-freebsd-hackers@FreeBSD.ORG Wed Feb 27 19:58:57 2008 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 75D0B1065676 for ; Wed, 27 Feb 2008 19:58:57 +0000 (UTC) (envelope-from jhein@timing.com) Received: from Daffy.timing.com (smtp.timing.com [206.168.13.218]) by mx1.freebsd.org (Postfix) with ESMTP id 4A7388FC1B for ; Wed, 27 Feb 2008 19:58:57 +0000 (UTC) (envelope-from jhein@timing.com) Received: from gromit.timing.com (gromit.timing.com [206.168.13.209]) by Daffy.timing.com (8.13.1/8.13.1) with ESMTP id m1RJwrHX011693; Wed, 27 Feb 2008 12:58:53 -0700 (MST) (envelope-from jhein@timing.com) Received: from gromit.timing.com (localhost [127.0.0.1]) by gromit.timing.com (8.14.2/8.14.2) with ESMTP id m1RJwmQj037485; Wed, 27 Feb 2008 12:58:48 -0700 (MST) (envelope-from jhein@gromit.timing.com) Received: (from jhein@localhost) by gromit.timing.com (8.14.2/8.14.2/Submit) id m1RJwmqc037481; Wed, 27 Feb 2008 12:58:48 -0700 (MST) (envelope-from jhein) MIME-Version: 1.0 Content-Type: text/plain; charset=unknown Content-Transfer-Encoding: 7bit Message-ID: <18373.49400.143413.571279@gromit.timing.com> Date: Wed, 27 Feb 2008 12:58:48 -0700 From: John Hein To: "=?UTF-8?Q?Amol_Dharmadhikar?= =?UTF-8?Q?i_=E0=A4=85=E0=A4=AE=E0=A5=8B=E0=A4=B2_=E0=A4=A7=E0=A4=B0?= =?UTF-8?Q?=E0=A5=8D=E0=A4=AE=E0=A4=BE=E0=A4=A7?= =?UTF-8?Q?=E0=A5=80=E0=A4=95=E0=A4=BE=E0=A4=B0=E0=A5=80?=" In-Reply-To: <61ed81c80802271147t3346f52lcb85233fbd3b6884@mail.gmail.com> References: <18373.33662.614583.231211@gromit.timing.com> <20080227190448.GA50031@kobe.laptop> <18373.47157.425456.583623@gromit.timing.com> <61ed81c80802271147t3346f52lcb85233fbd3b6884@mail.gmail.com> X-Mailer: VM 7.19 under Emacs 22.1.1 X-Virus-Scanned: ClamAV version 0.91.2, clamav-milter version 0.91.2 on Daffy.timing.com X-Virus-Status: Clean Cc: hackers@freebsd.org Subject: Re: cvs tag renaming after repo copy X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Feb 2008 19:58:57 -0000 Amol Dharmadhikar i ???? ?? ???? ????? wrote at 11:47 -0800 on Feb 27, 2008: > On Wed, Feb 27, 2008 at 11:21 AM, John Hein wrote: > > I don't want to move the tag... I want to invalidate old tags by > > renaming them to something else (like foo-1-2-3 -> old_foo-1-2-3). > > > > Note that just using cvs to rename a tag (by tagging with the new name > > and then removing the former name) has issues when you try to do that > > with branch tags. [*] > > > > Anyway, I'm pretty sure the FreeBSD cvs-meisters run something to > > invalidate tags after doing a repo copy. That's the information I was > > looking for. > > > > I dont think you can rename tags using a single command. What you can > do instead is create a new tag at the same point as the old tag, and > then delete the old tag. > > eg - > cvs rtag -r old-foo-1-2-3 new-foo-1-2-3 > cvs rtag -d old-foo-1-2-3 Yes, I mentioned that above [*]. You can't do that with branch tags. You can use cvs admin -n or -N with branch tags. Anyway, I'm wondering if anyone has a script which iterates over existing tags and renames them to old_*. Maybe that will make it more clear what I'm looking for?