From f857acecd44cb22a52cef6115b402e68ab6972b8 Mon Sep 17 00:00:00 2001 From: "terry%netscape.com" Date: Thu, 8 Oct 1998 06:01:44 +0000 Subject: [PATCH] Wasn't calculating the branch correctly. git-svn-id: svn://10.0.0.236/trunk@12268 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/webtools/despot/commitcheck.templ | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/mozilla/webtools/despot/commitcheck.templ b/mozilla/webtools/despot/commitcheck.templ index a0a6575a2fc..bdb2a0b829c 100644 --- a/mozilla/webtools/despot/commitcheck.templ +++ b/mozilla/webtools/despot/commitcheck.templ @@ -60,7 +60,9 @@ open(ENT, " ){ chop; ($d,$fn,$rev,$mod_time,$sticky,$tag) = split(/\//); - $fbranch{$fn} = $sticky; + if ($tag =~ /^T(.*)$/) { + $fbranch{$fn} = $1; + } } close ENT; @@ -119,7 +121,7 @@ foreach $f (@files) { } if (!$ok) { print STDERR "You may not check into partition $fullname{$t}\n"; - print STDERR "the file $repository/$f\n"; + print STDERR "the file $repository/$f on branch $b\n"; print STDERR "If you think you should be allowed to, send mail to\n"; print STDERR "one of the below people:\n"; $s = $super{$t};