Community
Participate
Working Groups
From Peter S. I used to be able to select a Revision (1.3) in the CVS Resource History, select "Tag with Existing...", and select a Branch. When I try this now I am getting: "Problems reported tagging the resource. Reason: net: cvs rtag: J9 JCL/src/java/net/SocketPermission.java: Not moving branch tag `Patch_20-1' from 1.2 to 1.3.0.2. From Michael V. I have seen this error when trying to tag a local resource with a branch when the local resource is already on another branch. In this case, it also appears that CVS fails when the resource being branched already has at least on branch tag on it already. I have verified (in both cases) that the same error occurs using the command line client.
We need to investigate if there is a work around and document it if there isn't
There is a -B option associated with rtag that can be used in conjuntion with - F or -d which will force a branch tag to be moved. The comment on the doc for the option says to use with extreme caution so I'm not sure if we should be making it's use too easy. Perhaps we could offer to use the option only after the initial retag fails (i.e. I see you just tries to move a branch tag. Are you really sure that's what you want?).
Support for the -B rtag option was added some time ago.