"Derek R. Price" wrote:

> As far as hints are concerned, the basics are pretty simple:

[ . . . ]


>    * $remote   = 'yes' or 'no', depending on whether the script is running with
>      a remote CVSROOT

Of course, since I was thinking about it, I just went through and changed this to:

    remote=:

and

    remote=false

for yes/true and no/false, respectively.  I'm about to do the same for $keep.



For the interested, this is because often, ':', and less often, 'false', are shell
builtins.  This makes constructs like:

    if $remote; then

faster and more succinct than:

    if test $remote = yes; then

This is portable.  Autoconf does it.

Derek

--
Derek Price                      CVS Solutions Architect ( http://CVSHome.org )
mailto:[EMAIL PROTECTED]         CollabNet ( http://collab.net )
--
Bugs come in through open Windows.




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

Reply via email to