summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2009-07-01 10:05:49 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-07-01 10:05:49 -0300
commit4adb473e91f8b90f20f44293cdcda2843d9e1a6f (patch)
treefd15cd6f9082b955a4cb6ab4b9338b23b5272fda
parentb4abf6c771eaf89639bc5ec457b0aedcbfda25bf (diff)
downloadmediapointer-dvb-s2-4adb473e91f8b90f20f44293cdcda2843d9e1a6f.tar.gz
mediapointer-dvb-s2-4adb473e91f8b90f20f44293cdcda2843d9e1a6f.tar.bz2
do_merge.pl: make easier to identify merge troubles
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rwxr-xr-xv4l/scripts/do_merge.pl6
1 files changed, 3 insertions, 3 deletions
diff --git a/v4l/scripts/do_merge.pl b/v4l/scripts/do_merge.pl
index 1a6bbb1ee..6eccd77e7 100755
--- a/v4l/scripts/do_merge.pl
+++ b/v4l/scripts/do_merge.pl
@@ -64,7 +64,7 @@ sub check_status()
sub rollback()
{
- print "Rolling back hg pull $merge_tree\n";
+ print "*** ERROR *** Rolling back hg pull $merge_tree\n";
system("hg rollback");
system("hg update -C");
exit -1;
@@ -96,7 +96,7 @@ if ($user eq "") {
# Last try to come up with something
if ($user eq "") {
- print "User not known. Can't procceed\n";
+ print "*** ERROR *** User not known. Can't procceed\n";
exit -1;
}
@@ -158,7 +158,7 @@ if (!ret) {
$ret = system ('make mismatch|egrep -v "^\s*CC"|egrep -v "^\s*LD"');
}
if ($ret) {
- print "Build failed. Can't procceed.\n";
+ print "*** ERROR *** Build failed. Can't procceed.\n";
# To avoid the risk of doing something really bad, let's ask the user to run hg strip
print "Your tree is dirty. Since hg has only one rollback level, you'll need to use, instead:";