summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2003-02-12 09:13:36 +0000
committerdes <des@FreeBSD.org>2003-02-12 09:13:36 +0000
commitebdd8469e14e1d5c89830106c362d469df95d5ed (patch)
treedec832abe43162aeea46596720108d9fd3def6d1 /tools
parentc4f62c84561bcd1d7c210f515956a25d18cf7889 (diff)
downloadFreeBSD-src-ebdd8469e14e1d5c89830106c362d469df95d5ed.zip
FreeBSD-src-ebdd8469e14e1d5c89830106c362d469df95d5ed.tar.gz
Make "CURRENT" the default branch, and special-case it in the update
code so it results in -A rather than -rCURRENT.
Diffstat (limited to 'tools')
-rw-r--r--tools/tools/tinderbox/tinderbox.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/tools/tinderbox/tinderbox.pl b/tools/tools/tinderbox/tinderbox.pl
index 8716854..859cd56 100644
--- a/tools/tools/tinderbox/tinderbox.pl
+++ b/tools/tools/tinderbox/tinderbox.pl
@@ -265,7 +265,7 @@ MAIN:{
# Set defaults
$arch = `/usr/bin/uname -m`;
chomp($arch);
- $branch = "HEAD";
+ $branch = "CURRENT";
$jobs = 0;
$repository = "/home/ncvs";
$sandbox = "$ENV{'HOME'}/tinderbox";
@@ -376,7 +376,7 @@ MAIN:{
} else {
push(@cvsargs, "checkout", "-P");
};
- push(@cvsargs, "-r$branch")
+ push(@cvsargs, ($branch eq 'CURRENT') ? "-A" : "-r$branch")
if defined($branch);
push(@cvsargs, "-D$date")
if defined($date);
OpenPOWER on IntegriCloud