Hi !
Working with WinCVS 1.3b7/8 and 1.2 (from SourceForge) on Win NT;
CVS server is an HPUX (don't know which CVS server release);
Connexion via "pserver".
My pb : Completly remove an entire directory hierachy on the server
repository, from a CVS client request.
Would have hoped : Be able to do that via "cvs admin", for instance.
My solution : Create a Tcl script that do the job on the server;
Put entries into taginfo administrative file
that point to that script.
From the CVS client, do the right tag request.
The results :
* CVS client of WinCVS 1.3* distribs : it "regularly" works,
but I must retry 2 or 3 times the tag request for the server
to do the job. Before accepting my request, it answers something
like "Can't change working directory; no such file or dir",
and shows the output of the script.
* CVS client of WinCVS 1.2 distribs : same behaviour,
except that the server does not send any error message,
even when it failed executing the script (job not done).
A precision : I've tried a lot of things in the script,
of which changing working directory to other
than the one to delete, deleting, re-creating empty,
and the put back working directory to the "new" one.
QUESTIONS:
* Is there another "cleaner" solution to delete a directory
on the server from a client request ?
(other than via taginfo, commitinfo, ...)
* Is there any "hack" for making my solution work each time ?
Thanks a lot !
|