Bug 272150: Attempts to rebuild cvs history on specific directories were ignored

r=timeless
This commit is contained in:
justdave%bugzilla.org 2005-04-02 23:53:46 +00:00
Родитель af94cffcd9
Коммит 266cbb5c68
1 изменённых файлов: 3 добавлений и 5 удалений

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

@ -27,7 +27,6 @@ use strict;
sub sillyness {
my $zz;
$zz = $::RepositoryID;
$zz = $::StartingDir;
}
use File::Basename;
@ -239,7 +238,6 @@ ConnectToDatabase();
$::Repository = $::TreeInfo{$::TreeID}{'repository'};
$::Description = $::TreeInfo{$::TreeID}{'description'};
$::RepositoryID = GetId('repositories', 'repository', $::Repository);
$::StartingDir = 0;
print "
Rebuilding entire checkin history in $::Description, (`$::TreeID' tree) ...
@ -250,9 +248,9 @@ Log("Rebuilding cvs history in $::Description, (`$::TreeID' tree)...");
LoadDirList();
my @Dirs = grep(!/\*$/, @::LegalDirs);
@Dirs = split(/,\s*/, $::Modules) if $::Modules;
my $StartingDir;
($StartingDir = "$::Repository/$::SubDir") =~ s!/.?$!! if $::SubDir;
if ($::SubDir) {
@Dirs = ($::SubDir);
}
print "Doing directories: @Dirs ...\n";
foreach my $Dir (@Dirs) {