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