"David A. Cobb" wrote:

> The UI should allow him to simply select the project name from among
> those he
> is working - and take care of the rest of the messy details.

Well, CVS already saves that information in your working directory, so you
usually only need to specify a CVSROOT for login, checkout, and logout.
Why bother?

If you really wanted, you could write a script (we'll call it cvsaliai for
now) that does the following:

#! /bin/sh
sed -n "/^$1 /{s/^$1 //;p;}" < $HOME/.cvsaliai


Then set up $HOME/.cvsaliai to something like the following:

projectname CVSROOT
projectname2 CVSROOT2
projectname3 CVSROOT3
. . .


Then when you run cvs commands on a new root use:

cvs -d`cvsaliai projectname` . . .


Hope that helps.

Derek

--
Derek Price                      CVS Solutions Architect ( http://CVSHome.org )
mailto:[EMAIL PROTECTED]     OpenAvenue ( http://OpenAvenue.com )
--
"Calm down. It's only ones and zeros."




_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs

Reply via email to