Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Jan 2013 17:22:31 +1100
From:      Peter Jeremy <peter@rulingia.com>
To:        "Isaac (.ike) Levy" <ike@blackskyresearch.net>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: svn - but smaller?
Message-ID:  <20130128062230.GF29105@server.rulingia.com>
In-Reply-To: <5105F684.501@missouri.edu>
References:  <20130123144050.GG51786@e-Gitt.NET> <20130124111332.GA29105@server.rulingia.com> <1359343502-3377760.86081485.fr0S3OcBl026861@rs149.luxsci.com> <5105F684.501@missouri.edu>

next in thread | previous in thread | raw e-mail | index | archive | help

--ffoCPvUAPMgSXi6H
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On 2013-Jan-27 21:54:44 -0600, Stephen Montgomery-Smith <stephen@missouri.e=
du> wrote:
>On 01/27/2013 09:24 PM, Isaac (.ike) Levy wrote:
>> Thank you for adding the ctm bits in the page, I'm deeply intrigued by p=
ossibly solving this problem with bits *already* in base?!!
>Suppose you want to keep up with 9.x-stable.  Then you look at the ftp
>site ftp://ftp.freebsd.org/pub/FreeBSD/CTM/src-9/, look at the latest
>xEmpty file, and fetch it.  Then create an empty directory /usr/src, and
>then do
>cd /usr/src && ctm the-xEmpty-file-you-downloaded.
>No need to decompress the file first.
>Then fetch from the same web site all the files whose number is greater
>than the xEmpty file you downloaded and do
>cd /usr/src && ctm the-rest-of-the-files*

I tracked the CVS repo for at least 10 years using a perl script I
wrote.  It checks the local .ctm_status and then fetches successive
deltas until the fetch fails.  A second script ran ctm on the
downloaded deltas to update my local CVS repo.  If there's sufficient
interest, I could make the scripts available.

At $ex-work, I had an email subscription and had a script setup to
run the emails through gpg and feed them into gpg.  Unfortunately,
I can't distribute that script.

>Now, if you want something not offered by ctm (e.g. 8.2-release), then
>you need to use svn.

Or freebsd-update.

The biggest downside of CTM ishat you can't pick arbitrary deltas -
you can only fetch the head of pre-configured branches.  The only
way to get an older tree is to not apply deltas (ZFS snapshots are
the best work-around here).

--=20
Peter Jeremy

--ffoCPvUAPMgSXi6H
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)

iEYEARECAAYFAlEGGSYACgkQ/opHv/APuIe89gCgsVfbLzJUKjqtvSVkfKD6UkPI
q5YAn1tLe9P0gF7sUfM9qyl/ilbGXpdn
=1j1S
-----END PGP SIGNATURE-----

--ffoCPvUAPMgSXi6H--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130128062230.GF29105>