anoncvs.freebsd.org down?

Sergey Sysoev lists at avtf.org
Thu Nov 20 09:32:49 PST 2003


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





More information about the freebsd-questions mailing list