Kaydet (Commit) 18f912ad authored tarafından Kurt Zenker's avatar Kurt Zenker

INTEGRATION: CWS hr46 (1.31.2); FILE MERGED

2007/09/04 15:03:42 hr 1.31.2.1: #i81264#: correctly move anchor tag of removed files to the *new* master head
üst 5791974b
...@@ -7,9 +7,9 @@ eval 'exec perl -wS $0 ${1+"$@"}' ...@@ -7,9 +7,9 @@ eval 'exec perl -wS $0 ${1+"$@"}'
# #
# $RCSfile: cwsresync.pl,v $ # $RCSfile: cwsresync.pl,v $
# #
# $Revision: 1.31 $ # $Revision: 1.32 $
# #
# last change: $Author: vg $ $Date: 2007-08-27 13:31:52 $ # last change: $Author: kz $ $Date: 2007-09-05 17:37:29 $
# #
# The Contents of this file are made available subject to # The Contents of this file are made available subject to
# the terms of GNU Lesser General Public License Version 2.1. # the terms of GNU Lesser General Public License Version 2.1.
...@@ -77,13 +77,14 @@ use Cvs; ...@@ -77,13 +77,14 @@ use Cvs;
use GenInfoParser; use GenInfoParser;
use CwsConfig; use CwsConfig;
use CwsCvsOps; use CwsCvsOps;
use CvsModule; # to be removed ASAP
#### script id ##### #### script id #####
( my $script_name = $0 ) =~ s/^.*\b(\w+)\.pl$/$1/; ( my $script_name = $0 ) =~ s/^.*\b(\w+)\.pl$/$1/;
my $script_rev; my $script_rev;
my $id_str = ' $Revision: 1.31 $ '; my $id_str = ' $Revision: 1.32 $ ';
$id_str =~ /Revision:\s+(\S+)\s+\$/ $id_str =~ /Revision:\s+(\S+)\s+\$/
? ($script_rev = $1) : ($script_rev = "-"); ? ($script_rev = $1) : ($script_rev = "-");
...@@ -103,17 +104,16 @@ my %resync_silent_ignore_files = ( 'wntmsci3' => 1, ...@@ -103,17 +104,16 @@ my %resync_silent_ignore_files = ( 'wntmsci3' => 1,
my %resync_always_move_tags = ( 'wntmsci10' => 1 ); my %resync_always_move_tags = ( 'wntmsci10' => 1 );
# modules to be obligatory copied to each cws # modules to be obligatory copied to each cws
my %obligatory_modules = (); my %obligatory_modules = ( 'solenv' => 1,
$obligatory_modules{'solenv'}++; 'default_images' => 1,
$obligatory_modules{'default_images'}++; 'custom_images' => 1,
$obligatory_modules{'custom_images'}++; 'ooo_custom_images' => 1,
$obligatory_modules{'ooo_custom_images'}++; 'external_images' => 1,
$obligatory_modules{'external_images'}++; 'postprocess' => 1,
$obligatory_modules{'postprocess'}++; 'instset_native' => 1,
$obligatory_modules{'instset_native'}++; 'instsetoo_native' => 1,
$obligatory_modules{'instsetoo_native'}++; 'smoketest_native' => 1,
$obligatory_modules{'smoketest_native'}++; 'smoketestoo_native' => 1);
$obligatory_modules{'smoketestoo_native'}++;
#### global ##### #### global #####
...@@ -1583,7 +1583,13 @@ sub commit_files ...@@ -1583,7 +1583,13 @@ sub commit_files
my ($master_branch_tag, $cws_branch_tag, $cws_anchor_tag) = $cws->get_tags(); my ($master_branch_tag, $cws_branch_tag, $cws_anchor_tag) = $cws->get_tags();
if ( !defined($master_head) ) { if ( !defined($master_head) ) {
$master_head = $master_branch_tag ? $master_branch_tag : 'HEAD'; # Determine new master from milestone_tag. We can't use $master_branch_tag
# here because after resyncing we might have a new master due to
# a cross master resync and the CWS itself is not yet updated
# to the new master.
my ($master) = split(/_/, $milestone_tag);
my $new_master_branch_tag = $cws->get_master_branch_tag($master);
$master_head = $new_master_branch_tag ? $new_master_branch_tag : 'HEAD';
} }
if ( $n_ci_files ) { if ( $n_ci_files ) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment