From owner-freebsd-current Tue Oct 8 04:20:37 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id EAA19930 for current-outgoing; Tue, 8 Oct 1996 04:20:37 -0700 (PDT) Received: from critter.tfs.com ([140.145.230.252]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id EAA19921; Tue, 8 Oct 1996 04:20:33 -0700 (PDT) Received: from critter.tfs.com (localhost.tfs.com [127.0.0.1]) by critter.tfs.com (8.7.5/8.7.3) with ESMTP id NAA04297; Tue, 8 Oct 1996 13:20:02 +0200 (MET DST) To: Paul Richards cc: Jake Hamby , current@FreeBSD.org Subject: Re: Wow, CVSup is cool! In-reply-to: Your message of "08 Oct 1996 11:31:27 BST." <57ohidg328.fsf@tees.elsevier.co.uk> Date: Tue, 08 Oct 1996 13:20:01 +0200 Message-ID: <4295.844773601@critter.tfs.com> From: Poul-Henning Kamp Sender: owner-current@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk In message <57ohidg328.fsf@tees.elsevier.co.uk>, Paul Richards writes: >I switched from sup to ctm some time ago and ctm is more appropriate >for my modem link but last night, after a mail gateway disaster, I was This is what I do: #!/bin/sh set -e cd /home/ncvs set `cat .ctm_status` old=foo this=$2 while [ $old != $2 ] do next=`expr $this + 1` ( cd /tmp && fetch -q ftp://freebsd.org/pub/CTM/cvs-cur/cvs-cur.${next}.gz) if [ -f /tmp/cvs-cur.*${next}.gz ] ; then ctm -v /tmp/cvs-cur.*${next}.gz mv /tmp/cvs-cur.*${next}.gz /home/CTM old=$this set `cat .ctm_status` this=$2 else break fi done -- Poul-Henning Kamp | phk@FreeBSD.ORG FreeBSD Core-team. http://www.freebsd.org/~phk | phk@login.dknet.dk Private mailbox. whois: [PHK] | phk@ref.tfs.com TRW Financial Systems, Inc. Future will arrive by its own means, progress not so.