updated commit message as no longer triggered by change in packages repo
authorandy simpson <andrews@symbian.org>
Wed, 26 May 2010 12:52:49 +0100
changeset 1074 15428d415dba
parent 1073 ac18844eb787
child 1075 20205e7ab525
updated commit message as no longer triggered by change in packages repo
generate_package_defs.pl
--- a/generate_package_defs.pl	Tue May 25 17:13:38 2010 +0100
+++ b/generate_package_defs.pl	Wed May 26 12:52:49 2010 +0100
@@ -22,7 +22,10 @@
 my @codelines = grep(($_ !~ /^\.\.?$/ and $_ =~ /^symbian/), readdir(DIR));
 close(DIR);
 
-my $packages_changeset = '';
+# get the changeset from the platform repo 
+my $platform_changeset = `hg -R platforms identify -i`;
+chomp $platform_changeset;
+print "-->$platform_changeset<--\n";
 
 # loop over codelines
 for my $codeline (@codelines)
@@ -57,7 +60,7 @@
 	my @diff_output = `$diff_cmd`;
 	if (@diff_output)
 	{
-		my $commit_cmd = "hg -R packages commit -m \"Update package models from auto generated system model (packages\@$packages_changeset)\" -u\"Dario Sestito <darios\@symbian.org>\"";
+		my $commit_cmd = "hg -R packages commit -m \"Update package models from latest system model  (platform\@$platform_changeset)\" -u\"Dario Sestito <darios\@symbian.org>\"";
 		print "$commit_cmd\n";
 		system($commit_cmd);
 		my $push_cmd = "hg -R packages push http://darios:symbian696b\@developer.symbian.org/oss/MCL/sftools/fbf/projects/packages";