From owner-freebsd-questions@FreeBSD.ORG Sun Nov 26 19:33:37 2006 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CD50E16A4D1 for ; Sun, 26 Nov 2006 19:33:37 +0000 (UTC) (envelope-from infofarmer@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.189]) by mx1.FreeBSD.org (Postfix) with ESMTP id 49573444B3 for ; Sun, 26 Nov 2006 19:11:50 +0000 (GMT) (envelope-from infofarmer@gmail.com) Received: by nf-out-0910.google.com with SMTP id x37so1835649nfc for ; Sun, 26 Nov 2006 11:12:42 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=BLwLAd4rQtuVeIfeDu31+zMewJz009IiGYoaT3LWYxLqvua9hmi8G6uINIAiIDCndyrCjBjX7M5UkHsRfaBo8AjqTJVsPs1QSAajXxVFvzlWxoizeOn8DzJtULRoWLh3XQQ0t81jztLZZ3SxgiI1r+RFB4gM19oHZsyFE841ufQ= Received: by 10.78.139.1 with SMTP id m1mr12473825hud.1164567938717; Sun, 26 Nov 2006 11:05:38 -0800 (PST) Received: by 10.78.167.16 with HTTP; Sun, 26 Nov 2006 11:05:38 -0800 (PST) Message-ID: Date: Sun, 26 Nov 2006 22:05:38 +0300 From: "Andrew Pantyukhin" Sender: infofarmer@gmail.com To: "Kris Kennaway" In-Reply-To: <20061124224040.GA4125@xor.obsecurity.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20061124224040.GA4125@xor.obsecurity.org> X-Google-Sender-Auth: 015e95ea55af5499 Cc: FreeBSD Questions Subject: Re: Local checkout performance - cvs vs cvsup X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Nov 2006 19:33:37 -0000 On 11/25/06, Kris Kennaway wrote: > On Sat, Nov 25, 2006 at 01:25:45AM +0300, Andrew Pantyukhin wrote: > > I use cvsup to maintain a full local copy of the CVS > > repo. I then use plain cvs to check out different branches > > of src from it. The problem is while cvsup only takes a > > minute each time I run it, cvs takes several times more. > > > > I run cvsup with "-gs" and cvs with "-rR" flags. Should > > I run a local cvsupd server or is there another way to > > speed things up? I only need the repo and the branches > > in read-only mode. > > I guess cvs is slower because it needs to check for local diffs > before/while merging in changes. By contrast cvsup will just blow > away any changes you have made. Yay! I set up a local cvsupd and it now takes under 10 seconds to update any branch, as compared to 5-7 minutes cvs took. > There's probably not much you can do apart from not checking out full > trees unless you really need them. You see, I use different branches in jails and on boxes, so it makes sense to get the whole repo over the net and sync to the branches locally.