Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

WinCvs - how to delete a directory?

308 views
Skip to first unread message

Michael Stammberger

unread,
Jan 20, 2000, 3:00:00 AM1/20/00
to
Hi,

(WinCvs 1.1b8)

How can I remove (erase) the working folder of a module which I have
already released? Even if I delete the folder by hand then WinCvs will
show the folder (in this nice broken style).

Any ideas?

Michael
--
Remember, even if you win the rat race, you're still a rat...

Joe Marshall

unread,
Jan 20, 2000, 3:00:00 AM1/20/00
to
You can delete the line in the entries file in the parents CVS directory.
WinCVS gets its idea of what the disk should look like from peeking in
the CVS directories.

But before you do this: Are you really really sure you want to do this?
This is going behind the back of CVS and I wouldn't recommend it.

~jrm


Michael Stammberger <stamm...@gmx.de> wrote in message
news:38873862...@gmx.de...

Michael Stammberger

unread,
Jan 21, 2000, 3:00:00 AM1/21/00
to
Hi Joe,

Thank you for your answer.



> But before you do this: Are you really really sure you want to do this?
> This is going behind the back of CVS and I wouldn't recommend it.

The reason why I want to delete the directory is simple: After I have
released a module and all work is done, then I want to do a "clean-up"
of my workspace.
Because of this I would prevent getting an unclear mess of unneeded
folders over a long time...
I'm wondering why WinCVS does not provide this feature. Would this be
inconsistent with the Idea of CVS? (I am a newbie in CVS).

Joe Marshall

unread,
Jan 21, 2000, 3:00:00 AM1/21/00
to

Michael Stammberger <stamm...@gmx.de> wrote in message
news:38882D78...@gmx.de...

> Hi Joe,
>
> Thank you for your answer.

You are welcome.

>
> > But before you do this: Are you really really sure you want to do this?
> > This is going behind the back of CVS and I wouldn't recommend it.
>
> The reason why I want to delete the directory is simple: After I have
> released a module and all work is done, then I want to do a "clean-up"
> of my workspace.
> Because of this I would prevent getting an unclear mess of unneeded
> folders over a long time...

I understand. If you play around with the CVS control files in your
workspace
you should be able to get rid of unwanted directories. Just be careful.

> I'm wondering why WinCVS does not provide this feature. Would this be
> inconsistent with the Idea of CVS? (I am a newbie in CVS).

I don't know. Perhaps the authors expect users to discard the workspace
and re checkout everything?


Tres Seaver

unread,
Jan 21, 2000, 3:00:00 AM1/21/00
to
In article <MP%h4.1607$Rj5....@dfw-read.news.verio.net>,

Once you have released the directory, you can select it, press <F2>, and
delete it from the Explorer -- that is not a whole lot more pain than having
WinCVS do something automagically unexpected (at least for some folks).

Best,

Tres.
--
---------------------------------------------------------------
Tres Seaver tse...@palladion.com 713-523-6582
Palladion Software http://www.palladion.com

dlm...@prodigy.net

unread,
Jan 24, 2000, 3:00:00 AM1/24/00
to

> How can I remove (erase) the working folder of a module which I have
> already released? Even if I delete the folder by hand then WinCvs will
> show the folder (in this nice broken style).
>

You need to apply the "-d" option on "cvs release" to delete your
working directory, but the "Release selection" from the WinCVS menu does
not use that option. You could, however, type the appropriate command
within the console window as follows:

First, select the parent directory of the module (directory) you want to
release, then from the console, type:
cvs release -d <directory name>

WinCVS will prompt you to select "Yes" before you see what you are
agreeing to, but it works.

David


Sent via Deja.com http://www.deja.com/
Before you buy.

Michael Stammberger

unread,
Jan 25, 2000, 3:00:00 AM1/25/00
to
Hi,

I have done it this way, but in the WinCVS-Browser there is still this
"broken"-folder sign. I think the only way to do it, is to modify the
CVS control files by hand...

Thank you,

0 new messages