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:
parent
c4f62c8456
commit
ebdd8469e1
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user