version 4.18, 2019/11/29 14:29:48 |
version 4.19, 2019/11/29 14:40:27 |
|
|
# can read and write to CVSROOT/history. |
# can read and write to CVSROOT/history. |
# FreeBSD's and OpenBSD's cvs(1) has long since supported -R (read only access |
# FreeBSD's and OpenBSD's cvs(1) has long since supported -R (read only access |
# mode) option, which considerably speeds up checkouts over NFS. For other |
# mode) option, which considerably speeds up checkouts over NFS. For other |
# platforms, the -R option and the CVSREADONLYFS environment variable are |
# platforms, the -R option is available in cvs >= 1.12.1. |
# available in cvs >= 1.12.1. A similar effect is provided by -u on NetBSD. |
# A similar effect is provided by -u on NetBSD. |
# |
# |
@cvs_options = qw(-f); |
@cvs_options = qw(-f); |
push @cvs_options, '-R' if ($^O eq 'freebsd' || $^O eq 'openbsd'); |
push @cvs_options, '-R' if ($^O eq 'freebsd' || $^O eq 'openbsd'); |
push @cvs_options, '-u' if ($^O eq 'netbsd'); |
push @cvs_options, '-u' if ($^O eq 'netbsd'); |
# Only affects cvs >= 1.12.1, but doesn't hurt older ones. |
|
$ENV{CVSREADONLYFS} = 1 unless exists($ENV{CVSREADONLYFS}); |
|
|
|
# Options to pass to the 'cvs annotate' command, usually the normal |
# Options to pass to the 'cvs annotate' command, usually the normal |
# @cvs_options are good enough here. |
# @cvs_options are good enough here. |