logo       

CVS server : Remotly delete a directory: msg#00201

Subject: CVS server : Remotly delete a directory
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 !



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
qnx.openqnx.dev...    politics.lenini...    audio.emagic.ex...    tex.texinfo.gen...    handhelds.linux...    ietf.sipping/20...    lang.erlang.gen...    cygwin.talk/200...    yellowdog.gener...    mozilla.devel.l...    xfree86.newbie/...    openbsd.ports/2...    db.oracle.devel...    kde.kalyxo.deve...    user-groups.lin...    bbc.cvs/2003-04...    gnu.libtool.bug...    redhat.k12osn/2...    emulators.wine....    freebsd.devel.d...    search.xapian.g...    java.izpack.use...    network.mrtg.us...    windows.total-c...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe