Berkeley CSUA MOTD:Entry 27612
Berkeley CSUA MOTD
 
WIKI | FAQ | Tech FAQ
http://csua.com/feed/
2025/04/03 [General] UID:1000 Activity:popular
4/3     

2003/3/6-8 [Computer/SW/RevisionControl] UID:27612 Activity:moderate
3/6     I moved a cvs repository.  Now I realized that there is a reference
        to where the repository was, in the CVS/Repository file in every
        checked out cvs dir.  Is there a way at the command level (via an
        option or an environmental variable) to ask cvs to change where it
        look for the repository or a script has to be written to change it
        everywhere?  I thought CVSROOT would do this but it doesn't.  Ok tnx.
        \_ the command you want is
           perl -pi -e 's#old/location#new/location#' `find . -name Repository`
           or rather
           find . -name Repository | xargs perl...
           or alternately, just re-checkout the module.
           --scotsman