info-cvs
[Top][All Lists]
Advanced

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

Re: Update versions


From: Larry Jones
Subject: Re: Update versions
Date: Wed, 9 Jul 2003 13:51:38 -0400 (EDT)

Giovanni Giazzon writes:
> 
> I agree with you, but we're facing some problems regarding administrative
> access. We can't remove branches and versions. Each one we create remains in
> the repository as garbage. But I guess someone in the list told that if you
> remove a branch, the version created from it will also be removed. Is this
> true?

I still don't understand the problem -- if you need to fix a bug in a
released version of your code, you need to create a bug fixes branch off
of that release.  The branch then contains your bug fixes, not garbage,
so you wouldn't want to delete it.

You seem to have some fundamental misunderstandings about branches in
CVS.  When you "create a branch", you're not really creating a branch,
you're just creating a branch tag in each of the files, which takes up a
miniscule amount of space in the RCS file and may add an even more
miniscule amount to the time needed to process that RCS file.  The
branch isn't really created until you check in a change.  There really
isn't any convenient way in CVS to delete a branch.  You can delete the
branch tag; if there were never any revisions checked in to the branch,
then deleting the branch tag removes all traces of the branch.  If there
were revisions checked in on the branch, removing the branch tag has no
effect on them, other than making them difficult to access since there's
no longer any branch tag pointing to them.

-Larry Jones

I don't like these stories with morals. -- Calvin




reply via email to

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