diff options
author | des <des@FreeBSD.org> | 2003-02-12 09:13:36 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2003-02-12 09:13:36 +0000 |
commit | ebdd8469e14e1d5c89830106c362d469df95d5ed (patch) | |
tree | dec832abe43162aeea46596720108d9fd3def6d1 /tools | |
parent | c4f62c84561bcd1d7c210f515956a25d18cf7889 (diff) | |
download | FreeBSD-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.pl | 4 |
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); |