Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Nov 2003 23:33:39 +0600
From:      Sergey Sysoev <lists@avtf.org>
To:        Anthony Chavez <acc@anthonychavez.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: anoncvs.freebsd.org down?
Message-ID:  <1876733089.20031120233339@avtf.org>
In-Reply-To: <m2n0arezkj.fsf@mav-nsl133.maverik.com>
References:  <m2n0arezkj.fsf@mav-nsl133.maverik.com>

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

AC> Been getting "Connection refused" for the last couple of days when
AC> trying to use anoncvs.  Anyone know why?

I   don't   know   why  but  you  may  use  any  mirror,  for  example
anoncvs.de.freebsd.org if it is acceptable to you. You may change Root
files using following script


#!/bin/sh
set -e

if [ $# -lt 1 ]; then
    echo "Change all CVS/Root files below dirs to contain newroot." >&2
    echo "Defaults to current directory if dirs is not specified."
    echo "" >&2
    echo "Usage: changecvsroot newroot [dirs...]" >&2
    exit 1
fi

newroot=$1
shift

if [ $# -eq 0 ]; then
    basedirs="."
else
    basedirs="$@"
fi

for base in $basedirs; do
    for dir in `find $base -type d -name CVS`; do
        root=$dir/Root
        if [ -f $root ]; then
            echo $newroot > $root
        fi
    done
done


-- 
Best regards,
 Sergey





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