Sheldon Samuels wrote:
>
> Is it possible to add a file to a branch other than the main branch, without first
>adding it to the main branch? We have custom files that apply to a specific
>customer, but contain a feature that the application as a whole shouldn't support.
>These custom files are add-ons to the primary application. But in using CVS and
>WinCVS (I'm new to all of this), I know how to add a file and I know how to create a
>branch and assign a file to a branch. But can I add the file to the branch without
>first placing it on the Main branch. It seems that the CVS function of "ADD" only
>adds files to the main branch first.
>
You can do that. At our shop, we consider it a nuisance, since it's
possible to do it inadvertantly and needs to be fixed afterwards
(since we almost never want to add a file without wanting to keep
it on head branch).
What you need to do, as far as I can tell, is have the directory
checked out or updated to the branch tag you intend to use. You
can check the CVS/Tag file to make sure the branch is what you want.
Then, do a cvs add and a cvs commit.
At least that's how it goes on Unix. I have no knowledge of WinCVS and
don't know how it would work there.
--
David H. Thornley Software Engineer
at CES International, Inc.: [EMAIL PROTECTED] or (763)-694-2556
at home: (612)-623-0552 or [EMAIL PROTECTED] or
http://www.visi.com/~thornley/david/