[Top][All Lists]

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

Re: Cannot add file on non-branch tag

From: david
Subject: Re: Cannot add file on non-branch tag
Date: Fri, 5 Sep 2003 12:55:26 -0500 (CDT)

> Hi All
> I am trying to add a file on a following specific path on a branch named
> "bname"
> Though I am able to add a file on some other location path.
> The error  is - 
> cvs server: cannot add file on non-branch tag bname
> I have checked the other files existing on this path are branched, infact
> added after branching.
It would appear that "bname" is not a branch on that particular file,
but rather a revision tag.  CVS maintains information by file, and
so it is entirely possible (and usually a problem) to have a tag be
a branch tag on one file and a revision tag on another.

You can check this with "cvs stat -v <filename>", which will show
you all the tags and whether they are branch or revision.  (You can
do the same with "cvs log", but it's harder to spot the difference.)

To fix this, eliminate the existing "bname" tag, and recreate it as
a branch tag.  Then check with "cvs stat" to see what the sticky
tag is, and "cvs update -r bname <filename>" if it is wrong.

Now building a CVS reference site at

reply via email to

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