Don't set date tag when branch tag is set. cvs currently only supports one tag.

This commit is contained in:
mcafee%netscape.com 2001-08-28 01:43:08 +00:00
Родитель 0a316d3301
Коммит 10b8c7ce4e
1 изменённых файлов: 11 добавлений и 4 удалений

Просмотреть файл

@ -18,7 +18,7 @@ use POSIX qw(sys_wait_h strftime);
use Cwd;
use File::Basename; # for basename();
use Config; # for $Config{sig_name} and $Config{sig_num}
$::UtilsVersion = '$Revision: 1.64 $ ';
$::UtilsVersion = '$Revision: 1.65 $ ';
package TinderUtils;
@ -578,6 +578,10 @@ sub BuildIt {
$ENV{MOZILLA_FIVE_HOME} = "$build_dir/${Settings::ObjDir}/mozilla/dist/bin";
my $cvsco = '';
# Tack on pull by date if requested. Don't pull by date on a branch,
# cvs currently only supports one tag, either a date tag or a branch tag,
# we will assume branch tag wins for now.
if (not defined($Settings::BuildTag)) {
if ($Settings::UseTimeStamp) {
$start_time = adjust_start_time($start_time);
my $time_str = POSIX::strftime("%m/%d/%Y %H:%M", localtime($start_time));
@ -586,6 +590,9 @@ sub BuildIt {
} else {
$cvsco = "$Settings::CVSCO -A";
}
} else {
$cvsco = "$Settings::CVSCO";
}
mail_build_started_message($start_time) if $Settings::ReportStatus;