Subversion Repositories DevTools

Rev

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

Rev 2429 Rev 2450
Line 42... Line 42...
42
my $opt_test = 1;
42
my $opt_test = 1;
43
my $opt_force;
43
my $opt_force;
44
my $opt_checkOperation;
44
my $opt_checkOperation;
45
my $opt_report = 0;
45
my $opt_report = 0;
46
my $opt_live;
46
my $opt_live;
-
 
47
my $opt_loseData;
47
 
48
 
48
#-------------------------------------------------------------------------------
49
#-------------------------------------------------------------------------------
49
# Function        : Main Entry
50
# Function        : Main Entry
50
#
51
#
51
# Description     :
52
# Description     :
Line 62... Line 63...
62
                'database:s'    => \$opt_rm,
63
                'database:s'    => \$opt_rm,
63
                'test!'         => \$opt_test,
64
                'test!'         => \$opt_test,
64
                'force!'        => \$opt_force,
65
                'force!'        => \$opt_force,
65
                'check:s'       => \$opt_checkOperation,
66
                'check:s'       => \$opt_checkOperation,
66
                'report:+'      => \$opt_report,
67
                'report:+'      => \$opt_report,
67
                'live'          => \$opt_live,
68
                'live!'         => \$opt_live,
-
 
69
                'loseData!'     => \$opt_loseData,
68
                );
70
                );
69
 
71
 
70
#
72
#
71
#   Process help and manual options
73
#   Process help and manual options
72
#
74
#
Line 302... Line 304...
302
    {
304
    {
303
        Message ('Release Manager entries are all upto date');
305
        Message ('Release Manager entries are all upto date');
304
        return;
306
        return;
305
    }
307
    }
306
 
308
 
307
    if ( $postMigrationUpdate )
309
    if ( $postMigrationUpdate && !$opt_loseData )
308
    {
310
    {
309
        Error ("Packages have been modified in SVN",
311
        Error ("Packages have been modified in SVN",
310
                "Reverting this package will lose data");
312
                "Reverting this package will lose data");
311
    }
313
    }
312
 
314
 
Line 516... Line 518...
516
    -database=name     - Default: RELMANU1 (test db) Live: RELEASEM
518
    -database=name     - Default: RELMANU1 (test db) Live: RELEASEM
517
    -[no]force         - Force update of all entries
519
    -[no]force         - Force update of all entries
518
    -check=string      - Check operation with string
520
    -check=string      - Check operation with string
519
    -report            - Report on errors
521
    -report            - Report on errors
520
    -report=2          - Report on errors, don't access RM
522
    -report=2          - Report on errors, don't access RM
-
 
523
    -loseData          - Allow update where new versions are in SVN
521
 
524
 
522
=head1 OPTIONS
525
=head1 OPTIONS
523
 
526
 
524
=over 8
527
=over 8
525
 
528