[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to bring a branch back on a file when the tag has been moved
From: |
Larry Jones |
Subject: |
Re: How to bring a branch back on a file when the tag has been moved |
Date: |
Fri, 30 Nov 2001 11:01:52 -0500 (EST) |
Prabhu Ram writes:
>
> We have a branch on which dev. was taking place and someone accidentally
> moved the tag (which is also the branch name) to the tip of the branch. Is
> there a "nice" way of setting the branch back to the branch point ?
No. CVS won't move an existing tag unless you force it to using the -F
flag, so you may want to beat up any users that always use -F to prevent
future mistakes of that sort. The current development version of CVS
goes one step farther and refuses to convert a branch tag to a revision
tag unless you also specify the -B flag, which should prevent such
accidents completely.
-Larry Jones
Sometimes I think the surest sign that intelligent life exists elsewhere
in the universe is that none of it has tried to contact us. -- Calvin