update_branches revision d9b4174233b951f25cd53a2787b9f14314258c2f
8389N/A# Copyright (C) 2005 Internet Systems Consortium, Inc. ("ISC") 8389N/A# Permission to use, copy, modify, and distribute this software for any 8389N/A# purpose with or without fee is hereby granted, provided that the above 8389N/A# copyright notice and this permission notice appear in all copies. 8389N/A# THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH 8389N/A# REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY 8389N/A# AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, 8389N/A# INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM 8389N/A# LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE 8389N/A# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 8389N/A# PERFORMANCE OF THIS SOFTWARE. 8389N/A# $Id: update_branches,v 1.1 2005/05/16 04:21:29 marka Exp $ 8389N/A #$status = "new" if (!defined($status)); 8389N/A #$who = "-" if (!defined($who)); # Search repository for new branches. # print "file: $_\n"; # debug # $file = $_; # save for branch debug below. next unless m/\.0\.\d$/; # skip if not a branch s/\s(.*):.*/$1/; # extract label # print "branch: $_ $file\n"; # debug # Write out updated version. print BRANCHES "\nBranch\t\t\t\tStatus\tWhom\n";
print BRANCHES "-------------------------------------------------------\n\n";
for ($i = 0; $i < $tabs; $i++) { for ($i = 0; $i < $tabs; $i++) {