Commit 6068aabc authored by Christian Loose's avatar Christian Loose
Browse files

Added kconf_update script to copy repository configuration

to cvsservicerc

svn path=/trunk/kdesdk/cervisia/; revision=196244
parent 2254e75d
......@@ -7,6 +7,6 @@ Key=CVSPath
Options=copy
Key=Compression
#
#Id=kde3.2/2
#File=cervisiapartrc,cvsservicerc
#Script=move_repositories.pl,perl
Id=kde3.2/20021229
File=cervisiapartrc,cvsservicerc
Script=move_repositories.pl,perl
#!/usr/bin/perl
$DEBUG = 0;
while(<>)
{
if( /\[(Repository-.*)\]/ )
{
# remember group section
$section = $1;
print "[$section]\n";
next;
}
if( /\[(.*)\]/ )
{
# clear section variable for other groups
$section = "";
next;
}
if( /^Compression=(.*)$/ )
{
# skip if not in repository group
if( $section eq "" )
{
next;
}
print STDERR "\n[$section]Compression=$1\n" if ( $DEBUG );
print "Compression=$1\n";
}
if( /^rsh=(.*)$/ )
{
# skip if not in repository group
if( $section eq "" )
{
next;
}
print STDERR "\n[$section]rsh=$1\n" if ( $DEBUG );
print "rsh=$1\n";
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment