From owner-freebsd-hackers@FreeBSD.ORG Wed Feb 27 19:18:21 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 3AFBB106566C for ; Wed, 27 Feb 2008 19:18:21 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id 825E38FC16 for ; Wed, 27 Feb 2008 19:18:20 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from kobe.laptop (vader.bytemobile-rio.ondsl.gr [83.235.57.37]) (authenticated bits=0) by igloo.linux.gr (8.14.1/8.14.1/Debian-9) with ESMTP id m1RJ4vuK006740; Wed, 27 Feb 2008 21:05:04 +0200 Received: by kobe.laptop (Postfix, from userid 1000) id B3C4A22802; Wed, 27 Feb 2008 21:04:48 +0200 (EET) Date: Wed, 27 Feb 2008 21:04:48 +0200 From: Giorgos Keramidas To: John Hein Message-ID: <20080227190448.GA50031@kobe.laptop> References: <18373.33662.614583.231211@gromit.timing.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <18373.33662.614583.231211@gromit.timing.com> X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-3.971, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.43, BAYES_00 -2.60) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Spam-Status: No 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:18:21 -0000 On 2008-02-27 08:36, John Hein wrote: > Can someone point me at a script that does tag renaming > after a repo copy? You don't really need a `script' to do this. Tags in CVS are not versioned, so you can force-tag the repo-copied files and move the tag to its new place. For example if you have two files: foo.c,v bar.c,v and bar.c,v is a repo-copy of foo.c,v then you move the tag only for the bar.c file by checking it out, and running: cvs tag -f -r 1.2 bar.c This should force/move the tag to point revision 1.2.