the crw hack

Adrian Aichner adrian at xemacs.org
Mon Dec 19 15:33:38 EST 2005


Ben Wing <ben at 666.com> writes:

> I've been using the following crw script for writes; is this still
> necessary?

Hi Ben, I've never used this and don't have problems commiting changes
to XEmacs CVS modules.

I do almost all my commits via patcher.

Hope this helps,

Adrian

>
> #!/bin/sh
> # With cvs.xemacs.org, it seems we need a special `crw' program to
> # do any writing operation to the repository.  The problem seems to be
> # that this version of CVS (at least in older versions?  Maybe or maybe
> # not always?) had some bugs that made various operations fail.  So we
> # create a dual-access system where read-only operations are done
> # throuth a different CVS server for the same respository, using the
> #:pserver: method rather than the :ext:.  The :pserver: method was
> # OK for read-only stuff, but not good for writing (perhaps because
> # it little or no security).  Other systems will just use using the
> #:ext: system or something and it seems to work for everything.
> if [ -e CVS -a -e CVS/Root ] && cat CVS/Root | grep cvs.xemacs.org ; then
>   exec env CVS_RSH=ssh cvs -w -z3 -d
>:ext:xemacs at cvs.xemacs.org:/pack/xemacscvs ${1+"$@"}
> else
>   exec env CVS_RSH=ssh cvs -w -z3 ${1+"$@"}
> fi
>
>
>

-- 
Adrian Aichner
 mailto:adrian at xemacs.org
 http://www.xemacs.org/





More information about the XEmacs-Beta mailing list