[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CVS Operation

From: Gianni Mariani
Subject: Re: CVS Operation
Date: Sun, 03 Feb 2002 11:01:35 -0800
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.7) Gecko/20011221

CVS does not operate on directories, it operates on files. Once you have created a directory it's there foreverver (unless you pop into the repository and remove it by hand at the risk of breaking someone else).

To "remove" a directory, remove all the files in it and then do a 'cvs update -Pd' in the parent. This will nuke empty directories.

It's all described in the docs.

One way to answer your second question is to try it. Moving files around makes it impossible for cvs to fix things.
Tom Rons wrote:


I have a few questions regarding CVS operation, for which I didn't find
answers in the documentation.

Say I import a repository that has 2 directories with two files in each, and
I remove one of both directories locally, then I commit the changes.  Will
the directory I removed locally also be gone, and if not, how do I remove
it?  Also if there's a file left in the remaining directory, and I remove it
locally, will that be removed from the cvs repository?

Also, I have just forked off my own seperate development branch of an IRC
daemon, but some major changes have been made.  For instance some files were
removed and some code was moved around.  Will CVS ignore this code and not
apply changes when I try to sync up between both?  It would be handy if I
could easily sync up so I don't have to insert bugfixes manually then commit
them from my computer.

  Thanks in advance

Tom Rons (address@hidden)

Info-cvs mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]