From 95ccac4ee09fe0d13f3c427b4c52b1613fbf2791 Mon Sep 17 00:00:00 2001 From: "justdave%bugzilla.org" Date: Mon, 24 Dec 2007 03:14:26 +0000 Subject: [PATCH] bug 409643: allow normal bonsai URLs to get file lists from instead of making the admin find the cvs backout URL. r=bear --- tools/cvsmgmt/fix-checkin-message | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tools/cvsmgmt/fix-checkin-message b/tools/cvsmgmt/fix-checkin-message index 7d122de3d67..74329d0972c 100755 --- a/tools/cvsmgmt/fix-checkin-message +++ b/tools/cvsmgmt/fix-checkin-message @@ -66,6 +66,10 @@ sub parse_bonsai_backout_file { if (($::ARGV[0]) && ($::ARGV[0] =~ /^http/)) { print "--\n"; + my $url = $::ARGV[0]; + if ($url !~ m/generateBackoutCVSCommands/) { + $url .= '&generateBackoutCVSCommands=1'; + } my $data = `wget -O- -nv "$::ARGV[0]"`; parse_bonsai_backout_file($data); } @@ -92,6 +96,9 @@ EOF chomp $filename; if ($filename =~ /^http/) { print "--\n"; + if ($filename !~ m/generateBackoutCVSCommands/) { + $filename .= '&generateBackoutCVSCommands=1'; + } my $data = `wget -O- -nv "$filename"`; parse_bonsai_backout_file($data); if (0 == @files) {