Hi! With cvs 1.11.1p1 in "client-server-mode" (CVSROOT=:pserver:...) an "export" always fails:
# cvs export -D 2002-02-02 aModule ==> cvs [export aborted]: cannot export into a working directory The source of this error message is checkout.c, function build_one_dir: in "client-server-mode" the "current working dir" is a temporary directory on the "cvs-server". This directory contains also subdirectories named "CVS". We solved the problem with the changes which can be found in the accompanying file cvs-1.11.1p1.checkout.c.cdiff. <<cvs-1.11.1p1.checkout.c.cdiff>> This should be regarded as a "hot fix". A closer review of function build_one_dir of checkout.c might be necessary or suggestive. > Regards, > > Wolfgang Seelbach > mailto:[EMAIL PROTECTED] > > ======================================================== cvs-1.11.1p1.checkout.c.cdiff ======================================================== *** checkout.c Thu Jan 24 14:16:38 2002 --- checkout.c.org Thu Jan 24 12:57:20 2002 *************** *** 456,470 **** if (isfile (CVSADM)) { ! /* WSe #1 - "case" SERVER_SUPPORT added */ ! #ifdef SERVER_SUPPORT ! if ((m_type == EXPORT) && (! server_active)) ! error (1, 0, "cannot export into a working directory"); } - #else - if (m_type == EXPORT) - error (1, 0, "cannot export into a working directory"); - #endif else if (m_type == CHECKOUT) { /* I suspect that this check could be omitted. */ --- 456,464 ---- if (isfile (CVSADM)) { ! if (m_type == EXPORT) ! error (1, 0, "cannot export into a working directory"); } else if (m_type == CHECKOUT) { /* I suspect that this check could be omitted. */ > ======================================================== cvs-1.11.1p1.checkout.c.cdiff ========================================================
cvs-1.11.1p1.checkout.c.cdiff
Description: Binary data
