From owner-freebsd-questions Mon Aug 7 21:31:38 2000 Delivered-To: freebsd-questions@freebsd.org Received: from emu.prod.itd.earthlink.net (emu.prod.itd.earthlink.net [207.217.121.31]) by hub.freebsd.org (Postfix) with ESMTP id D01C737BD97 for ; Mon, 7 Aug 2000 21:31:29 -0700 (PDT) (envelope-from eogren@rod.darktech.org) Received: from rod.darktech.org (ip54.cambridge2.ma.pub-ip.psi.net [38.32.112.54]) by emu.prod.itd.earthlink.net (8.9.3-EL_1_3/8.9.3) with ESMTP id VAA15465; Mon, 7 Aug 2000 21:31:27 -0700 (PDT) Received: (from eogren@localhost) by rod.darktech.org (8.10.1/8.9.3) id e784UwA01339; Tue, 8 Aug 2000 00:30:58 -0400 (EDT) (envelope-from eogren) Date: Tue, 8 Aug 2000 00:30:58 -0400 From: Eric Ogren To: Dan Langille Cc: questions@FreeBSD.ORG Subject: Re: cvs: how do you do a repo copy? Message-ID: <20000808003058.A356@earthlink.net> References: <200008071005.WAA46033@ducky.nz.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <200008071005.WAA46033@ducky.nz.freebsd.org>; from dan@langille.org on Mon, Aug 07, 2000 at 10:05:42PM +1200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi Dan- The idea is to move the actual ,v file into its new place. You can do the below... $ cd $CVSROOT/mycvs/walkports $ cp ports.pm,v ../updates $ cd /checked/out/version/of/the/tree $ cvs update $ cd walkports $ cvs remove ports.pm $ cvs commit -m "Repo-copied to updates." ports.pm ...or, if you don't care about preserving the fact that ports.pm was ever in walkports, you can use mv instead of cp. I'm pretty sure this should do the trick, although you should of course make sure you have backups around just in case something goes horribly wrong. Eric On Mon, Aug 07, 2000 at 10:05:42PM +1200, Dan Langille wrote: > I think I want to do a repo copy. You tell me: > > In my cvs repository for freshports, I have ports.pm which resides in one > part of the tree. I don't like it there. So I'm moving it to another > part of the tree. What's the easiest way to do this without disturbing the > history? Here is the cvs directory tree: > > mycvs > walkports > ports.pm > updates > [move to here] > > Anyone know how to do this move and retain the history? > > cheers > -- > Dan Langille [I'm looking for more work] > The FreeBSD Diary - http://www.freebsddiary.org/ > FreshPorts - http://freshports.org/ > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message