Subversion Repositories DevTools

Rev

Rev 2429 | Rev 2764 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2429 Rev 2450
Line 71... Line 71...
71
my $opt_ignoreProjectBaseErrors;
71
my $opt_ignoreProjectBaseErrors;
72
my $opt_ignoreMakeProjectErrors;
72
my $opt_ignoreMakeProjectErrors;
73
my $opt_delete;
73
my $opt_delete;
74
my $opt_recentAge = 14;             # Days
74
my $opt_recentAge = 14;             # Days
75
my $opt_relabel = 0;
75
my $opt_relabel = 0;
-
 
76
my $opt_protected;
-
 
77
my $opt_useSvn = 1;
-
 
78
my $opt_testRmDatabase;
76
 
79
 
77
################################################################################
80
################################################################################
78
#   List of Projects Suffixes and Branch Names to be used within SVN
81
#   List of Projects Suffixes and Branch Names to be used within SVN
79
#
82
#
80
#       Name        - Name of branch for the project
83
#       Name        - Name of branch for the project
Line 130... Line 133...
130
    '.pxxx.sydddd'  => '.syd',
133
    '.pxxx.sydddd'  => '.syd',
131
    '.oslo'         => '.oso',
134
    '.oslo'         => '.oso',
132
    '.osl'          => '.oso',
135
    '.osl'          => '.oso',
133
);
136
);
134
 
137
 
135
my @excludeFromImport = (
-
 
136
 
-
 
137
    # 22-Oct-12: Excluded on request from Kasun Sirikumara
-
 
138
    # Pending VSS work
-
 
139
    'agency_website',
-
 
140
    'alx',
-
 
141
    'alx-api',
-
 
142
    'cardholder_website',
-
 
143
    'loginmodule-ad',
-
 
144
    'ols-enquiry',
-
 
145
    'ols-enquiry-api',
-
 
146
    'olsrpc4j',
-
 
147
    'orca-middleware',
-
 
148
    'orca-middleware-api',
-
 
149
    'orca-salesEngine',
-
 
150
    'orca-web-api',
-
 
151
    'orca-web-utils',
-
 
152
    'TestPaymentGateway',
-
 
153
    'tgen4j',
-
 
154
    'web-cd-client',
-
 
155
 
-
 
156
 
-
 
157
    # 05-Nov-12: Pending fixup for include.txt files that escape the VOB
-
 
158
    #
-
 
159
#    'ddu_app_manager',
-
 
160
#    'ddu_dog',
-
 
161
#    'ddu_dog_lib',
-
 
162
#    'ddu_fim',
-
 
163
#    'ddu_logging_lib',
-
 
164
#    'ddu_management',
-
 
165
#    'ddu_mccain',
-
 
166
#    'ddu_mon',
-
 
167
#    'ddu_rcu',
-
 
168
#    'ddu_status_logging',
-
 
169
    
-
 
170
);
-
 
171
 
-
 
172
my %specialPackages = (
138
my %specialPackages = (
173
    'core_devl'           =>  ',all,protected,',
139
    'core_devl'           =>  ',all,protected,',
174
    'daf_utils_mos'       => ',flat,',
140
    'daf_utils_mos'       => ',flat,',
175
    'mos_packager'        => ',all,',
141
    'mos_packager'        => ',all,',
176
    'cfmgr-cfmgr'         => ',flat,',
142
    'cfmgr-cfmgr'         => ',flat,',
Line 178... Line 144...
178
    'ReleaseName'         => ',flat,',
144
    'ReleaseName'         => ',flat,',
179
    'reports'             => ',utf8,',
145
    'reports'             => ',utf8,',
180
    'cda_imports'         => ',utf8,',
146
    'cda_imports'         => ',utf8,',
181
    'cdxforms'            => ',utf8,',
147
    'cdxforms'            => ',utf8,',
182
    'db_cda'              => ',utf8,',
148
    'db_cda'              => ',utf8,',
-
 
149
    'CommandServer'       => ',IgnoreMakeProject,',
-
 
150
    'TDSExporterControl'  => ',IgnoreMakeProject,',
-
 
151
    'cdagui'              => ',IgnoreMakeProject,',
-
 
152
 
-
 
153
    'daf_bvt'                 => ',IgnoreMakeProject,',  # Look OK
-
 
154
    'daf_dll'                 => ',IgnoreMakeProject,',  # MakeProject not in used makefile
-
 
155
    'PFTPi'                   => ',IgnoreMakeProject,',  # Looks OK
-
 
156
    'PFTPu'                   => ',IgnoreMakeProject,',  # Looks OK
-
 
157
    'WinCEBlocker'            => ',IgnoreMakeProject,',  # Looks OK
-
 
158
    'WinCEDeviceAutoInject'   => ',IgnoreMakeProject,',  # Looks OK
-
 
159
    'WinCEReboot'             => ',IgnoreMakeProject,',  # Looks OK
183
 
160
 
184
 
161
 
185
    # Need to be handled in a special manner
-
 
186
    # Not done by this utility
-
 
187
    #
-
 
188
    'linux_drivers_eb5600'  => ',protected,',
-
 
189
    'linux_drivers_viper'   => ',protected,',
-
 
190
    'linux_drivers_cobra'   => ',protected,',
-
 
191
    'linux_drivers_bcp4600' => ',protected,',
-
 
192
    'linux_drivers_etx86'   => ',protected,',
-
 
193
    'linux_drivers_tp5600'  => ',protected,',
-
 
194
 
-
 
195
# Not in the ukHops migration at the moment
-
 
196
    'cs'                        => ',protected,',
-
 
197
 
-
 
198
    'DBA-Common'                => ',protected,',
-
 
199
    'DBA-DatabaseInstall'       => ',protected,',
-
 
200
    'DBA-ExternalPerlModules'   => ',protected,',
-
 
201
    'DBA-OraUserBuild'          => ',protected,',
-
 
202
    'DBA-OST'                   => ',protected,',
-
 
203
    'orahops-install'           => ',protected,',
-
 
204
    'orahops-patch'             => ',protected,',
-
 
205
    'orahops-ssw-install'       => ',protected,',
-
 
206
    'orahops-ssw-patch'         => ',protected,',
-
 
207
# End of ukHops migration exclussion
-
 
208
 
-
 
209
    'ftp'                   => 'SetProjectBase,',
162
    'ftp'                   => 'SetProjectBase,',
210
    'ddu_app_manager'       => 'SetProjectBase,',
163
    'ddu_app_manager'       => 'SetProjectBase,',
211
 
164
 
212
    'icl'                   => 'IgnoreProjectBase,',
165
    'icl'                   => 'IgnoreProjectBase,',
213
    'itso'                  => 'IgnoreProjectBase,',
166
    'itso'                  => 'IgnoreProjectBase,',
214
    'daf_osa_mos'           => 'IgnoreProjectBase,',
167
#    'daf_osa_mos'           => 'IgnoreProjectBase,',
215
    'daf_utils_mos'         => 'IgnoreProjectBase,',
168
    'daf_utils_mos'         => 'IgnoreProjectBase,',
216
    'itso_ud'               => 'IgnoreProjectBase,',
169
    'itso_ud'               => 'IgnoreProjectBase,',
217
#    'mos_api'               => 'IgnoreProjectBase,',
170
#    'mos_api'               => 'IgnoreProjectBase,',
218
#    'mos_fonts'             => 'IgnoreProjectBase,',
171
#    'mos_fonts'             => 'IgnoreProjectBase,',
219
#    'sntp'                  => 'IgnoreProjectBase,',
172
#    'sntp'                  => 'IgnoreProjectBase,',
Line 324... Line 277...
324
                "log!"          => \$opt_log,
277
                "log!"          => \$opt_log,
325
                "delete!"       => \$opt_delete,
278
                "delete!"       => \$opt_delete,
326
                "postimage!"    => \$opt_postimage,
279
                "postimage!"    => \$opt_postimage,
327
                'workdir:s'     => \$opt_workDir,
280
                'workdir:s'     => \$opt_workDir,
328
                'relabel!'      => \$opt_relabel,
281
                'relabel!'      => \$opt_relabel,
-
 
282
                'svn!'          => \$opt_useSvn,
-
 
283
                'testRmDatabase'    => \$opt_testRmDatabase,
329
                );
284
                );
330
 
285
 
331
#
286
#
332
#   Process help and manual options
287
#   Process help and manual options
333
#
288
#
Line 347... Line 302...
347
Error("Specify a package as 'name'" ) unless ( defined $ARGV[0] );
302
Error("Specify a package as 'name'" ) unless ( defined $ARGV[0] );
348
EnvImport('GBE_RM_URL');
303
EnvImport('GBE_RM_URL');
349
$cwd = Getcwd();
304
$cwd = Getcwd();
350
 
305
 
351
#
306
#
-
 
307
#   Allow use of the test database
-
 
308
#   Defaut is live data, but some error recovery stuff can be done via
-
 
309
#   the test database.
-
 
310
#
-
 
311
if ( $opt_testRmDatabase )
-
 
312
{
-
 
313
    Warning ("Using Test Database");
-
 
314
    $ENV{GBE_RM_USERNAME} = 'RELEASE_MANAGER';
-
 
315
    $ENV{GBE_RM_PASSWORD} = 'RELEASE_MANAGER';
-
 
316
    $ENV{GBE_RM_LOCATION} = 'jdbc:oracle:thin:@auperaora07.vix.local:1521:RELMANU1';
-
 
317
}
-
 
318
 
-
 
319
#
352
#   Init the pruning mode
320
#   Init the pruning mode
353
#
321
#
354
setPruneMode( $opt_pruneModeString || 'ripple');
322
setPruneMode( $opt_pruneModeString || 'ripple');
355
 
323
 
356
#
324
#
Line 481... Line 449...
481
 
449
 
482
    #
450
    #
483
    #   Going to do serious work
451
    #   Going to do serious work
484
    #   Need to ensure we have more arguments
452
    #   Need to ensure we have more arguments
485
    #
453
    #
-
 
454
    if ( $opt_protected )
-
 
455
    {
-
 
456
        Warning("Protected Package not transferred: $packageNames[0] - $opt_protected",
-
 
457
                "See cc2svn_protected.txt for details");
-
 
458
        exit 0;
-
 
459
    }
-
 
460
 
486
    if ( $noTransfer )
461
    if ( $noTransfer )
487
    {
462
    {
488
        Warning("Protected Package not transferred: $packageNames[0]");
463
        Warning("Protected Package not transferred: $packageNames[0]",
-
 
464
                "Configured within this program");
489
        exit 0;
465
        exit 0;
490
    }
466
    }
491
 
467
 
492
    #
468
    #
493
    #   Perform all the work in a package specific subdirectory
469
    #   Perform all the work in a package specific subdirectory
Line 647... Line 623...
647
    if ( $packageNames[0] =~ m'^br_applet_' )
623
    if ( $packageNames[0] =~ m'^br_applet_' )
648
    {
624
    {
649
      $opt_flat = 1 unless defined $opt_flat;
625
      $opt_flat = 1 unless defined $opt_flat;
650
    }
626
    }
651
 
627
 
652
    foreach  ( @excludeFromImport )
-
 
653
    {
-
 
654
         $specialPackages{$_} .= 'protected,';
-
 
655
    }
-
 
656
 
-
 
657
    if ( exists $specialPackages{$packageNames[0]} )
628
    if ( exists $specialPackages{$packageNames[0]} )
658
    {
629
    {
659
        my $data = $specialPackages{$packageNames[0]};
630
        my $data = $specialPackages{$packageNames[0]};
660
        if ( index( $data, ',all' ) >= 0) {
631
        if ( index( $data, ',all' ) >= 0) {
661
            setPruneMode('none') unless (defined $opt_pruneModeString);
632
            setPruneMode('none') unless (defined $opt_pruneModeString);
Line 1621... Line 1592...
1621
            $timestamp,
1592
            $timestamp,
1622
            $duration,
1593
            $duration,
1623
            $data{errStr} || ''
1594
            $data{errStr} || ''
1624
            );
1595
            );
1625
    logToFile( $cwd . '/importsummary.txt', ";$line;");
1596
    logToFile( $cwd . '/importsummary.txt', ";$line;");
-
 
1597
 
1626
    #
1598
    #
1627
    #   Sava data
1599
    #   Sava data
1628
    #
1600
    #
1629
    $data{errFlags} = $flags;
1601
    $data{errFlags} = $flags;
1630
    $data{duration} = $duration;
1602
    $data{duration} = $duration;
Line 1638... Line 1610...
1638
    #   Delete the created view
1610
    #   Delete the created view
1639
    #   Its just a directory, so delete it
1611
    #   Its just a directory, so delete it
1640
    #
1612
    #
1641
    if ( $data{ViewRoot} && -d $data{ViewRoot})
1613
    if ( $data{ViewRoot} && -d $data{ViewRoot})
1642
    {
1614
    {
1643
        if ( !$opt_reuse || ($rv && ($rv != 4 && $rv != 12 )) )
1615
        if ( !$opt_reuse || ($rv && ($rv != 4 && $rv != 12 && $rv != 5 )) )
1644
        {
1616
        {
1645
            Message ("Delete View: $data{ViewRoot}");
1617
            Message ("Delete View: $data{ViewRoot}");
1646
            RmDirTree ($data{ViewRoot} );
1618
            RmDirTree ($data{ViewRoot} );
1647
        }
1619
        }
1648
        else
1620
        else
Line 1690... Line 1662...
1690
#                   $entry              - Package entry to process
1662
#                   $entry              - Package entry to process
1691
#
1663
#
1692
# Returns         : Error Code
1664
# Returns         : Error Code
1693
#                         0 - All is well
1665
#                         0 - All is well
1694
#                       <10 - Recoverable error
1666
#                       <10 - Recoverable error
-
 
1667
#                               1 - Bad VCS Tag
-
 
1668
#                               2 - No Files in the extracted view
-
 
1669
#                                   Label not found
-
 
1670
#                                   Failed to extract files from CC
-
 
1671
#                                   No Files in the extracted view after labeling dirs
-
 
1672
#                               3 - Deadwood
-
 
1673
#                               4 - Bad usage of ProjectBase detected
-
 
1674
#                                   Use of MakeProject detected
-
 
1675
#                               5  - Subversion Import disabled
1695
#                       >10 - Fatal error
1676
#                       >10 - Fatal error
1696
#
1677
#
1697
sub newPackageVersionBody
1678
sub newPackageVersionBody
1698
{
1679
{
1699
    my ($data, $entry) = @_;
1680
    my ($data, $entry) = @_;
Line 1849... Line 1830...
1849
            Message ("Adjust Base Dir: $testDir");
1830
            Message ("Adjust Base Dir: $testDir");
1850
            $data->{adjustedPath} = $data->{ViewPath};
1831
            $data->{adjustedPath} = $data->{ViewPath};
1851
            $data->{ViewPath} = $testDir;
1832
            $data->{ViewPath} = $testDir;
1852
        }
1833
        }
1853
    }
1834
    }
-
 
1835
    Message ("BaseDir: $data->{ViewPath}");
1854
    
1836
    
1855
    #
1837
    #
1856
    #   Some really ugly packages make use of a Jats feature called 'SetProjectBase'
1838
    #   Some really ugly packages make use of a Jats feature called 'SetProjectBase'
1857
    #   Detect such packages as we will need to handle them differently
1839
    #   Detect such packages as we will need to handle them differently
1858
    #   Can't really handle it on the fly
1840
    #   Can't really handle it on the fly
1859
    #   All we can do is detect it and report it - at the moment
1841
    #   All we can do is detect it and report it - at the moment
1860
    #
1842
    #
1861
    if (detectProjectBaseUsage($data, $cc_path) )
1843
    if (detectProjectBaseUsage($data) )
1862
    {
1844
    {
1863
        unless ( $opt_ignoreProjectBaseErrors )
1845
        unless ( $opt_ignoreProjectBaseErrors )
1864
        {
1846
        {
1865
            $data->{BadProjectBase}++;
1847
            $data->{BadProjectBase}++;
1866
            $data->{errStr} = 'Bad usage of ProjectBase detected';
1848
            $data->{errStr} = 'Bad usage of ProjectBase detected';
Line 1924... Line 1906...
1924
    #
1906
    #
1925
    #   Have a CC view
1907
    #   Have a CC view
1926
    #   Now we can create the SVN package and branching point before we
1908
    #   Now we can create the SVN package and branching point before we
1927
    #   import the CC data into SVN
1909
    #   import the CC data into SVN
1928
    #
1910
    #
-
 
1911
    if ( !$opt_useSvn )
-
 
1912
    {
-
 
1913
            $data->{errStr} = 'Subversion Import disabled';
-
 
1914
            return 5;
-
 
1915
    }
-
 
1916
 
1929
    my @args;
1917
    my @args;
1930
 
1918
 
1931
    #
1919
    #
1932
    #   Calculate args for functions
1920
    #   Calculate args for functions
1933
    #
1921
    #
Line 2689... Line 2677...
2689
# Function        : detectProjectBaseUsage
2677
# Function        : detectProjectBaseUsage
2690
#
2678
#
2691
# Description     : Detect and report usage of the SetProjectBase directive
2679
# Description     : Detect and report usage of the SetProjectBase directive
2692
#
2680
#
2693
# Inputs          : $data               - Ref to a hash of bits
2681
# Inputs          : $data               - Ref to a hash of bits
2694
#                   $cc_path            - Packages cc_path
-
 
2695
#
2682
#
2696
# Returns         : true    - Bad usage (Really good usage not detected)
2683
# Returns         : true    - Bad usage (Really good usage not detected)
2697
#                   false   - Good usage detected
2684
#                   false   - Good usage detected
2698
#
2685
#
2699
sub detectProjectBaseUsage
2686
sub detectProjectBaseUsage
2700
{
2687
{
2701
    my ($data, $cc_path) = @_;
2688
    my ($data) = @_;
2702
    my $retval = 0;
2689
    my $retval = 0;
2703
    my $eSuf = $opt_ignoreProjectBaseErrors ? '' : 'Error';
2690
    my $eSuf = $opt_ignoreProjectBaseErrors ? '' : 'Error';
2704
 
2691
 
2705
    #
2692
    #
2706
    #   Find makefile.pl
2693
    #   Find makefile.pl
Line 2711... Line 2698...
2711
    my $definitionError = 0;
2698
    my $definitionError = 0;
2712
 
2699
 
2713
    my $search = JatsLocateFiles->new("--Recurse=1",
2700
    my $search = JatsLocateFiles->new("--Recurse=1",
2714
                                       "--FilterIn=makefile.pl",
2701
                                       "--FilterIn=makefile.pl",
2715
                                       );
2702
                                       );
2716
    my @makefiles = $search->search($data->{ViewRoot});
2703
    my @makefiles = $search->search($data->{ViewPath});
2717
    foreach my $file ( @makefiles )
2704
    foreach my $file ( @makefiles )
2718
    {
2705
    {
2719
        if ( open( my $fh, '<', "$data->{ViewRoot}/$file" ) )
2706
        if ( open( my $fh, '<', "$data->{ViewPath}/$file" ) )
2720
        {
2707
        {
2721
            while ( <$fh> )
2708
            while ( <$fh> )
2722
            {
2709
            {
2723
                s~\s+$~~;
2710
                s~\s+$~~;
2724
                s~^\s+~~;
2711
                s~^\s+~~;
Line 2734... Line 2721...
2734
                if ( m~^SetProjectBase~ )
2721
                if ( m~^SetProjectBase~ )
2735
                {
2722
                {
2736
                    $definesProjectBase++;
2723
                    $definesProjectBase++;
2737
                    $data->{DefinesProjectBase}++;
2724
                    $data->{DefinesProjectBase}++;
2738
                    Warning ("Package initialises SetProjectBase:",
2725
                    Warning ("Package initialises SetProjectBase:",
2739
                             "Line: " . $_,
2726
                             "Line : " . $_,
2740
                             "Root: " . "$data->{ViewRoot}",
2727
                             "Root : " . "$data->{ViewRoot}",
-
 
2728
                             "Path : " . "$data->{ViewPath}",
2741
                             "File: " . "$data->{ViewRoot}/$file",
2729
                             "File : " . "$data->{ViewPath}/$file",
2742
                            );
2730
                            );
2743
 
2731
 
2744
                    # The only problem is if the user attempts to escape
2732
                    # The only problem is if the user attempts to escape
2745
                    # from the root of the view.
2733
                    # from the root of the view.
2746
                    #
2734
                    #
Line 2751... Line 2739...
2751
                    # Locate the build.pl file
2739
                    # Locate the build.pl file
2752
                    # This is the basis for for the directive
2740
                    # This is the basis for for the directive
2753
                    #
2741
                    #
2754
                    my $blevel;
2742
                    my $blevel;
2755
                    my @bpaths = split ('/', $file );
2743
                    my @bpaths = split ('/', $file );
-
 
2744
                    my $buildFile;
2756
                    while ( @bpaths )
2745
                    while ( @bpaths )
2757
                    {
2746
                    {
2758
                        $bpaths[-1] = 'build.pl';
2747
                        $bpaths[-1] = 'build.pl';
2759
                        my $bfile = join '/', @bpaths ;
2748
                        my $bfile = join '/', @bpaths ;
2760
                        if ( -f "$data->{ViewRoot}/$bfile" )
2749
                        $buildFile = "$data->{ViewPath}/$bfile";
-
 
2750
                        if ( -f $buildFile )
2761
                        {
2751
                        {
2762
                            $blevel = scalar @bpaths;
2752
                            $blevel = scalar @bpaths;
2763
                            last;
2753
                            last;
2764
                        }
2754
                        }
2765
                        pop @bpaths;
2755
                        pop @bpaths;
Line 2772... Line 2762...
2772
                    }
2762
                    }
2773
                    else
2763
                    else
2774
                    {
2764
                    {
2775
                        #
2765
                        #
2776
                        #   Determine the depth of the view root
2766
                        #   Determine the depth of the view root
2777
                        #   This is given by cc_path, but cc_path has a leading /
-
 
2778
                        #
2767
                        #
-
 
2768
                        Warning ("Build: $buildFile");
2779
                        my @cpaths = split ('/', $cc_path );
2769
                        my $countPath = ($data->{ViewPath} =~ tr~/~/~);
2780
                        my $clevel = (scalar @cpaths) - 1;
2770
                        my $countBuild = ($buildFile =~ tr~/~/~);
2781
                        my $max_up = $blevel - $clevel - 1;
2771
                        my $max_up = $countBuild - $countPath -1;
2782
 
2772
 
2783
                        m~--Up=(\d+)~i;
2773
                        m~--Up=(\d+)~i;
2784
                        my $ulevel = $1;
2774
                        my $ulevel = $1;
2785
                        if ( defined $ulevel )
2775
                        if ( defined $ulevel )
2786
                        {
2776
                        {
Line 2790... Line 2780...
2790
#print "--- blevel: $blevel\n";
2780
#print "--- blevel: $blevel\n";
2791
#print "--- bpaths: @bpaths\n";
2781
#print "--- bpaths: @bpaths\n";
2792
#print "--- ulevel: $ulevel\n";
2782
#print "--- ulevel: $ulevel\n";
2793
#print "--- paths: @paths\n";
2783
#print "--- paths: @paths\n";
2794
#print "--- plevel: $plevel\n";
2784
#print "--- plevel: $plevel\n";
2795
#print "--- cpaths: @cpaths\n";
-
 
2796
#print "--- clevel: $clevel\n";
-
 
2797
#print "--- max_up: $max_up\n";
2785
#print "--- max_up: $max_up\n";
2798
 
2786
 
2799
                            if ( $ulevel > $max_up )
2787
                            if ( $ulevel > $max_up )
2800
                            {
2788
                            {
2801
                                Warning ("SetProjectBase escapes view. MaxUp: $max_up, Up: $ulevel");
2789
                                Warning ("SetProjectBase escapes view. MaxUp: $max_up, Up: $ulevel");
Line 3552... Line 3540...
3552
#
3540
#
3553
sub createImages
3541
sub createImages
3554
{
3542
{
3555
 
3543
 
3556
    my $filebase = "${packageNames}";
3544
    my $filebase = "${packageNames}";
3557
    open (FH, '>', "$filebase.dot" ) or die "Cannot open output";
3545
    open (FH, '>', $cwd . "/$filebase.dot" ) or die "Cannot open output";
3558
    print FH "digraph \"${packageNames}\" {\n";
3546
    print FH "digraph \"${packageNames}\" {\n";
3559
    #print FH "rankdir=LR;\n";
3547
    #print FH "rankdir=LR;\n";
3560
    print FH "node[fontsize=16];\n";
3548
    print FH "node[fontsize=16];\n";
3561
    print FH "node[target=_graphviz];\n";
3549
    print FH "node[target=_graphviz];\n";
3562
#    print FH "subgraph cluster_A {\n";
3550
#    print FH "subgraph cluster_A {\n";
Line 3954... Line 3942...
3954
        unless ( keys(%ScmRepoMap) >= 0 );
3942
        unless ( keys(%ScmRepoMap) >= 0 );
3955
 
3943
 
3956
    $opt_vobMap = $ScmRepoMap{$packageNames}{repo}
3944
    $opt_vobMap = $ScmRepoMap{$packageNames}{repo}
3957
        if (exists $ScmRepoMap{$packageNames});
3945
        if (exists $ScmRepoMap{$packageNames});
3958
 
3946
 
-
 
3947
    $opt_protected = $ScmRepoMap{$packageNames}{protected}
-
 
3948
        if (exists $ScmRepoMap{$packageNames}{protected});
-
 
3949
 
3959
    #
3950
    #
3960
    #   Free the memory
3951
    #   Free the memory
3961
    #
3952
    #
3962
    %ScmRepoMap = ();
3953
    %ScmRepoMap = ();
3963
 
3954
 
Line 4341... Line 4332...
4341
    -[no]log           - Write output to log file. Def: -nolog
4332
    -[no]log           - Write output to log file. Def: -nolog
4342
    -[no]postimage     - Create image after transger: Def: -post
4333
    -[no]postimage     - Create image after transger: Def: -post
4343
    -workdir=path      - Use for temp storage (def:/work)
4334
    -workdir=path      - Use for temp storage (def:/work)
4344
    -delete            - Delete SVN package before test
4335
    -delete            - Delete SVN package before test
4345
    -[no]relabel       - Attempt to relabel dirs in packages that don't extract
4336
    -[no]relabel       - Attempt to relabel dirs in packages that don't extract
-
 
4337
    -testRmDatabase    - Use test database
4346
 
4338
 
4347
=head1 OPTIONS
4339
=head1 OPTIONS
4348
 
4340
 
4349
=over 8
4341
=over 8
4350
 
4342