Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Wednesday, October 14, 2026

Diff for scripts/shell/cvs-switch/README between version 1.3 and 1.4

version 1.3, 2004/10/14 14:54:08 version 1.4, 2004/10/31 14:56:23
Line 8 
Line 8 
   
   
   
     Why this script was developed?
     ------------------------------
   
     If you have one master CVS Repository and multiple CVS mirrors, you
     must change CVS/Root files in all subdirectories if you want commit
     into master CVS Repository but make 'cvs diff' towards slave CVS
     Repository (e.g. your local CVS Repository copy).
   
     With cvs-switch script you can easily switch between multiple CVS
     Repositories (CVS Roots). Actual list of available CVS Repositories is
     based on your current domain name.
   
   
   
   
   Usage    Usage
   -----    -----
   
   Add next line to your ~/.bashrc, ~/.zshrc or etc.:    Add next line to your ~/.bashrc, ~/.zshrc or etc.:
   
   alias cvs-switch='eval `$HOME/prog/cvs/scripts/shell/cvs-switch/cvs-switch.sh`'    alias cvs-switch='eval `$HOME/prog/cvs/scripts/shell/cvs-switch/cvs-switch.sh`'
     alias cvs='cvs -d $CVSROOT'
   
   Then you can easily switch between CVS Repositories with alias 'cvs-switch'.    Then you can easily switch between CVS Repositories with alias 'cvs-switch'.
   Available CVS Repositories are configured in your ~/.cvs-repositories.conf    Available CVS Repositories are configured in your ~/.cvs-repositories.conf
Line 57 
Line 73 
   Change name of the variable 'DOMAIN_domain_company_sk' as needed. For    Change name of the variable 'DOMAIN_domain_company_sk' as needed. For
   domainname 'google.com' create variable with name 'DOMAIN_google_com'    domainname 'google.com' create variable with name 'DOMAIN_google_com'
   (replace dots with '_' character). Add keywords describing your CVS    (replace dots with '_' character). Add keywords describing your CVS
   Repositores (available for this domain) into this variable. In example above    Repositories (available for this domain) into this variable. In example above
   I have used keywords 'company_cvs', 'company_rajo', 'company_cvs_local'.    I have used keywords 'company_cvs', 'company_rajo', 'company_cvs_local'.
   Then create variables TITLE_<keyword1>, TITLE_<keyword2>, ...,    Then create variables TITLE_<keyword1>, TITLE_<keyword2>, ...,
   CVSROOT_<keyword1>, CVSROOT_<keyword2>, ..., CVS_RSH_<keyword1>, ...    CVSROOT_<keyword1>, CVSROOT_<keyword2>, ..., CVS_RSH_<keyword1>, ...
Line 96 
Line 112 
   
   This script was tested on Linux and FreeBSD. Solaris is not well tested.    This script was tested on Linux and FreeBSD. Solaris is not well tested.
   
     Cvs relase version 1.1 has changed behaviour of 'cvs' command. With
     newer cvs version than 1.10 it is possible for a single CVS command to
     recurse into several CVS roots. See
     https://ccvs.cvshome.org/source/browse/ccvs/NEWS?r1=1.74&r2=1.75 for
     details. But this behaviour is in conflict with this, what you want.
     You will switch between master and slave CVS Repositories "on the
     fly".  ;-)
   
   
   Licensing    Licensing
Line 117 
Line 139 
   Solaris           | SunOS   | hostname    | domainname                      | echo `hostname`.`domainname`    Solaris           | SunOS   | hostname    | domainname                      | echo `hostname`.`domainname`
   
   
   $Platon$    $Platon: scripts/shell/cvs-switch/README,v 1.3 2004/10/14 14:54:08 rajo Exp $
   
 --  --
 Lubomir Host 'rajo' <rajo AT platon.sk>  Lubomir Host 'rajo' <rajo AT platon.sk>

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top