[kepler-dev] [Ptolemy] Ptolemy CVS Repository moving

Haiyang Zheng hyzheng at eecs.berkeley.edu
Tue Jul 26 14:38:13 PDT 2005

I followed the instruction and changed the CVSROOT value by running the 
script under Cygwin. After a "refresh" of the project in Eclipse, 
":ext:source.eecs.berkeley.edu:/home/cvs" is added to the list of CVS 

When I tried to synchronize the tree in Eclipse, I got the following error 
Problems reported while synchronizing CVS Workspace. 0 of 1 resources were 
  An error occurred synchronizing /PtolemyII: Unknown response received from 
cvs server:
    Unknown response received from cvs server:

I then switched to Cygwin to do cvs update. I got another error message.
hyzheng at DOPLAP10 /cygdrive/c/hyzheng/ptII/adm
$ cvs update
rksh: cvs:  not found
cvs [update aborted]: end of file from server (consult above messages if 


----- Original Message ----- 
From: "Christopher Brooks" <cxh at eecs.berkeley.edu>
To: <ptresearch at maury.eecs.berkeley.edu>; <Kepler-dev at ecoinformatics.org>
Sent: Monday, July 25, 2005 5:30 PM
Subject: [Ptolemy] Ptolemy CVS Repository moving

> I'm moving the ptII cvs repository to a new machine.
> I'll start the move at 5:30 PDT.
> If you have read/write access, the new CVSROOT value is
>  :ext:source.eecs.berkeley.edu:/home/cvs
> If you have read only access, then I've set up a new
> cvs read only account called "anon" that does not require a password.
> I think the old ptdevel password will continue to work, I'll check
> after the move.
> The canonical instructions for read only access is:
>  cd c:/directoryofyourchoice
>  cvs -d :pserver:anon at source.eecs.berkeley.edu:/home/cvs/cvsanon login
>  # No password needed, hit enter
>  cvs -d :pserver:anon at source.eecs.berkeley.edu:/home/cvs/cvsanon co ptII
> There is no need to check out a new tree, you can update the value
> of the CVS/Root files with the little script below.
> --start--
> #!/bin/sh
> echo "Running find, this could take a minute"
> cvsRootFiles=/tmp/ptcvsfix.$$
> /usr/bin/find . -xdev -name Root -print > $cvsRootFiles
> # Create a script
> cvsRootScript=/tmp/ptcvsfix$$.sh
> cat <<EOF > $cvsRootScript
> #!/bin/sh
> for file in \$@
> do
> echo \$file
> sed 's/gigasource/source/g' \$file > ptcvsfix.tmp
> mv ptcvsfix.tmp \$file
> done
> chmod a+x $cvsRootScript
> cat $cvsRootFiles | xargs $cvsRootScript
> rm -f $cvsRootFiles $cvsRootScript
> --end--
> 1. Place the above in a file, for example ptfixcvs
> 2. Run:
>     chmod a+x ptfixcvs
> 3. Run:
>     ./ptfixcvs
> _Christopher
> _______________________________________________
> Ptolemy maillist  -  Ptolemy at chess.eecs.berkeley.edu
> http://chess.eecs.berkeley.edu/ptolemy/listinfo/ptolemy

More information about the Kepler-dev mailing list