From owner-freebsd-stable@FreeBSD.ORG Mon Jan 28 03:25:36 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 9FC79430 for ; Mon, 28 Jan 2013 03:25:36 +0000 (UTC) (envelope-from ike@blackskyresearch.net) Received: from rs149.luxsci.com (rs149.luxsci.com [64.49.224.181]) by mx1.freebsd.org (Postfix) with ESMTP id 3E88069E for ; Mon, 28 Jan 2013 03:25:35 +0000 (UTC) Received: from rs149.luxsci.com (localhost.localdomain [127.0.0.1]) by rs149.luxsci.com (8.14.4/8.13.8) with ESMTP id r0S3PYgh027147; Sun, 27 Jan 2013 22:25:34 -0500 Received: (from root@localhost) by rs149.luxsci.com (8.14.4/8.13.8/Submit) id r0S3P2QT026968; Mon, 28 Jan 2013 03:25:02 GMT Received: (from sender 74627) (rs149.luxsci.com [127.0.0.1]) by LuxSci SP; Mon, 28 Jan 2013 03:25:02 +0000 Subject: Re: svn - but smaller? Content-Type: text/plain; charset=us-ascii From: "Isaac (.ike) Levy" In-Reply-To: <20130124111332.GA29105@server.rulingia.com> Date: Sun, 27 Jan 2013 22:24:37 -0500 Content-Transfer-Encoding: quoted-printable References: <20130123144050.GG51786@e-Gitt.NET> <20130124111332.GA29105@server.rulingia.com> To: Peter Jeremy X-Lux-Comment: Message r0S3OcBl026861 sent by user #74627 Message-Id: <1359343502-3377760.86081485.fr0S3OcBl026861@rs149.luxsci.com> X-Comment: LuxSci SP Message ID - 1359343502-3377760.86081485 Cc: freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Jan 2013 03:25:36 -0000 Hi Peter, On Jan 24, 2013, at 6:13 AM, Peter Jeremy wrote: > On 2013-Jan-23 15:40:50 +0100, Oliver Brandmueller = wrote: >> in ancient times there was cvsup. cvsup was a PITA if you wanted (or=20= >> needed) to install it via ports, the only reasonable way was to use=20= >> pkg_add for that if you didn't want to pollute your system with=20 >> otherwise unneeded software. >=20 > There was also ctm(1). ctm is small, BSD-licensed and has been part > of FreeBSD forever (almost). Thanks to stephen@, ctm deltas for > various src trees, as well as the entire SVN repo are still available. > c[v]sup can do things than aren't possible with ctm but I would expect > that most people who currently use c[v]sup could readily migrate to > using ctm. >=20 > See http://www.freebsd.org/doc/handbook/ctm.html for details. >=20 > Note that mirroring the actual SVN repo via ctm requires some patches. > There is a README and patches in = ftp://ftp.freebsd.org/pub/FreeBSD/CTM/svn-cur/ >=20 > --=20 > Peter Jeremy Thank you for adding the ctm bits in the page, I'm deeply intrigued by = possibly solving this problem with bits *already* in base?!! = https://wiki.freebsd.org/action/diff/UsersFetchingSource?action=3Ddiff&rev= 1=3D6&rev2=3D7 However, even after reading the handbook page, I just don't quite = understand how to use it on a modern system. (The handbook page isn't = too helpful, nor is the man page- perhaps I'm looking at it backwards) = Could you help clarify: - does CTM go away with the CVS servers? - do CTM-compatable patch/delta files exist on project repos? - what is the cleanest path to using CTM? (e.g. is the patch you mention = required) -- Say I have a bare 9.1 install, no ports, haven't downloaded any base/src = or ports yet. How do I go about using ctm(1) to fetch REL or STABLE to /usr/src, = command by command? Best, .ike