[interchange-cvs] interchange - heins modified lib/Vend/Config.pm

interchange-cvs at icdevgroup.org interchange-cvs at icdevgroup.org
Sun Jan 11 10:06:01 EST 2004


User:      heins
Date:      2004-01-11 15:06:01 GMT
Modified:  lib/Vend Config.pm
Log:
* Create way to specify that local override of a global tag should not cause
  an error message.

  		Limit  override_tag   tag1 tag2 tag3

Revision  Changes    Path
2.130     +4 -3      interchange/lib/Vend/Config.pm


rev 2.130, prev_rev 2.129
Index: Config.pm
===================================================================
RCS file: /var/cvs/interchange/lib/Vend/Config.pm,v
retrieving revision 2.129
retrieving revision 2.130
diff -u -r2.129 -r2.130
--- Config.pm	17 Nov 2003 21:35:22 -0000	2.129
+++ Config.pm	11 Jan 2004 15:06:00 -0000	2.130
@@ -1,6 +1,6 @@
 # Vend::Config - Configure Interchange
 #
-# $Id: Config.pm,v 2.129 2003/11/17 21:35:22 edl Exp $
+# $Id: Config.pm,v 2.130 2004/01/11 15:06:00 mheins Exp $
 #
 # Copyright (C) 2002-2003 Interchange Development Group
 # Copyright (C) 1996-2002 Red Hat, Inc.
@@ -48,7 +48,7 @@
 use Vend::File;
 use Vend::Data;
 
-$VERSION = substr(q$Revision: 2.129 $, 10);
+$VERSION = substr(q$Revision: 2.130 $, 10);
 
 my %CDname;
 my %CPname;
@@ -3838,7 +3838,8 @@
 					"Local usertag %s overrides global definition",
 					$tag,
 				)
-			);
+			)
+				unless $C->{Limit}{override_tag} =~ /\b$tag\b/;
 		}
 
 		my $sub;








More information about the interchange-cvs mailing list