top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration Why to Join

Facebook Login
Site Registration
Print Preview

How to remove empty dir that never had files using CVS

+1 vote
29 views

When I added a new top level directory to the repository, I accidentally created a double path, e.g. mydir/mydir instead of just mydir at the top of the repository tree. I tried to do the normal cvs delete or the directory, but since it's empty it doesn't do anything.

since I never had files in it and don't need any history or archived files from it, how can I remove it for good?

posted Jul 15, 2013 by anonymous

Share this question
Facebook Share Button Twitter Share Button Google+ Share Button LinkedIn Share Button Multiple Social Share Button

1 Answer

+1 vote

cvs does not keep track of directories, only of files in it.

But: Normally, cvs does not remove the directories if they are empty. If you want to let cvs do that, you have to add -P ("prune directories") to the checkout and update commands.

Of course, these are only client-side options. If you want to completely remove it from the server, just remove that directory from the repository structure itself. Node that this is safe as long as the directory is really (and always was) empty - otherwise, I would not recommend that.

answer Jul 15, 2013 by anonymous
Similar Questions
0 votes

Sorry it's been so long since I've done this.... in looking at the manual I can't seem to find it. simple question I have a CVS repository in /repository with a few directories already existing, for example "tools", "reports", "proj" etc. I want to add "documentation". Just the directory. the Developer will add the files later.

why don't I see it easily? I'll keep looking but in case it's so simple.

+1 vote

We have stuck in integrating CVS with Bugzilla. We tried some online documents i.e. CVS Zilla, which we are unable to download it.

Is there any step by step document which we can follow?

+4 votes

I want to configure CVS on linux machine to maintain history and revision of files.

0 votes

we have a cvs repository in use. it's been around for about 10 years. i'm looking to find a way to identify projects that haven't had commits since a certain date. any insights would be appreciated.

0 votes

Is this a way to tag and entire repository structure without having to check it out first. We have a huge repository about 2GB of data at a remote site. Running a old version of CVS 1.11.23. Yeah I know its old, but I cant do anything about it.

Something like

cvs tag  :pserver:user@cvs.repository.com:/usr/local/cvsroot/

Useful Links with Similar Problem
Contact Us
+91 9880187415
sales@queryhome.net
support@queryhome.net
#470/147, 3rd Floor, 5th Main,
HSR Layout Sector 7,
Bangalore - 560102,
Karnataka INDIA.
QUERY HOME
...