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

interchange-cvs at icdevgroup.org interchange-cvs at icdevgroup.org
Tue May 3 10:17:18 EDT 2005


User:      heins
Date:      2005-05-03 14:17:18 GMT
Modified:  lib/Vend Config.pm
Log:
* Change "TagRepository" directive to "CodeRepository".

Revision  Changes    Path
2.171     +6 -6      interchange/lib/Vend/Config.pm


rev 2.171, prev_rev 2.170
Index: Config.pm
===================================================================
RCS file: /var/cvs/interchange/lib/Vend/Config.pm,v
retrieving revision 2.170
retrieving revision 2.171
diff -u -r2.170 -r2.171
--- Config.pm	3 May 2005 06:03:26 -0000	2.170
+++ Config.pm	3 May 2005 14:17:18 -0000	2.171
@@ -1,6 +1,6 @@
 # Vend::Config - Configure Interchange
 #
-# $Id: Config.pm,v 2.170 2005/05/03 06:03:26 mheins Exp $
+# $Id: Config.pm,v 2.171 2005/05/03 14:17:18 mheins Exp $
 #
 # Copyright (C) 2002-2003 Interchange Development Group
 # Copyright (C) 1996-2002 Red Hat, Inc.
@@ -51,7 +51,7 @@
 use Vend::File;
 use Vend::Data;
 
-$VERSION = substr(q$Revision: 2.170 $, 10);
+$VERSION = substr(q$Revision: 2.171 $, 10);
 
 my %CDname;
 my %CPname;
@@ -408,7 +408,7 @@
 												)
 												? ($Global::Unix_Mode || 0) : 'Yes'],
 	['TcpMap',           'hash',             ''],
-	['TagRepository',    'root_dir',         ''],
+	['CodeRepository',   'root_dir',         ''],
 	['AccumulateCode',   'yesno',         	 'No'],
 	['Environment',      'array',            ''],
 	['TcpHost',           undef,             'localhost 127.0.0.1'],
@@ -752,7 +752,7 @@
 	my $accdir = "$tdir/Accumulated";
 
 	my $newfn = $fn;
-	$newfn =~ s{^$Global::TagRepository/*}{};
+	$newfn =~ s{^$Global::CodeRepository/*}{};
 
 	my $lfile = "$accdir/$newfn";
 	my $ldir = $lfile;
@@ -1478,7 +1478,7 @@
 sub get_repos_code {
 
 #::logDebug("get_repos_code called");
-	return unless $Global::TagRepository;
+	return unless $Global::CodeRepository;
 
 	return if $Vend::ControllingInterchange;
 	
@@ -1489,7 +1489,7 @@
 		my $ext = $extmap{lc $1} or return;
 		push @files, [ $File::Find::name, $ext];
 	};
-	File::Find::find($wanted, $Global::TagRepository);
+	File::Find::find($wanted, $Global::CodeRepository);
 
 	my $c = $Global::TagLocation = {};
 








More information about the interchange-cvs mailing list