info-cvs
[Top][All Lists]
Advanced

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

Re: Removal of tagged files


From: Eric Siegerman
Subject: Re: Removal of tagged files
Date: Mon, 11 Jun 2001 14:44:06 -0400
User-agent: Mutt/1.2.5i

On Mon, Jun 11, 2001 at 11:46:29AM +1200, Chris Cameron wrote:
> We've had the experience of cvs allowing files to be removed from a
> non-branch tag!

Do you mean by this:
  1. cvs update -r release-tag file; cvs rm file
  2. cvs tag -d release-tag file
  3. something else?

If (1), update your CVS.  It prevents this at least from 1.10.8.
If (3), please clarify...

As for (2):
> You can't modify files on a non-branch tag, but you can
> remove!

That you can't modify them isn't because that's been deemed a Bad
Thing, but because it's simply impossible -- the underlying RCS
doesn't permit you to modify an existing revision in-place.

Deleting a tag clearly is possible.  I can see your point that
some shops might want to prevent just anyone (or anyone at all,
for that matter) from doing it, but CVS is generally pretty lax
about per-user permissions; it depends on underlying file-system
permissions to give a coarse level of control, but that's about
it.  I believe there are patches floating around that claim to
give you a finer-grained permission scheme (but whether they let
you control this particular action, I wouldn't know).  Search the
list archives for references.

--

|  | /\
|-_|/  >   Eric Siegerman, Toronto, Ont.        address@hidden
|  |  /
With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea.
        - RFC 1925 (quoting an unnamed source)



reply via email to

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