Make "CURRENT" the default branch, and special-case it in the update

code so it results in -A rather than -rCURRENT.
This commit is contained in:
des 2003-02-12 09:13:36 +00:00
parent c4f62c8456
commit ebdd8469e1

View File

@ -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);