[Bioperl-l] fixing personal CVS copies

Heikki Lehvaslaiho heikki@ebi.ac.uk
03 Oct 2002 16:38:43 +0100


CVS seems to be back online.

I had a look if the CVS migration script included in the announcement.
It did not work for me.

The following script:

find . -name "Root" ! -type d | xargs perl  -p -i.orig -e \ 
's/ext:(\w+)\@[^:]+:/ext:$1\@dev.open-bio.org:/'

changes the contents of CVS/Root
from

:ext:heikki@bio.perl.org:/home/repository/bioperl

into

:ext:heikki@dev.open-bio.org:/home/repository/bioperl


It works on "normal" CVS repostitories, but not on 'bioperl' which is a
combination of  corba-client,  corba-server,  core,  db and  gui.


This script does work:

find . -name "Root" ! -type d | xargs perl -p -i.orig -e \
's/ext:(\w+)\@[^\/]+/ext:$1\@dev.open-bio.org/'

and changes the string:

:ext:heikki@bio.perl.org/home/repository/bioperl

into:

:ext:heikki@dev.open-bio.org/home/repository/bioperl


	-Heikki

I do not know if the mailng lists work so if not pass this on later.
-- 
______ _/      _/_____________________________________________________
      _/      _/                      http://www.ebi.ac.uk/mutations/
     _/  _/  _/  Heikki Lehvaslaiho          heikki@ebi.ac.uk
    _/_/_/_/_/  EMBL Outstation, European Bioinformatics Institute
   _/  _/  _/  Wellcome Trust Genome Campus, Hinxton
  _/  _/  _/  Cambs. CB10 1SD, United Kingdom
     _/      Phone: +44 (0)1223 494 644   FAX: +44 (0)1223 494 468
___ _/_/_/_/_/________________________________________________________