|
From: | R Bresner |
Subject: | BUG: "cvs diff -r HEAD" gets current branch based on revision... |
Date: | Wed, 16 May 2001 01:43:07 -0400 |
Howdy,
We've recently upgraded to 1.11( NT/Solaris
clients, Solaris server)
and have noticed a new behavior when using the the
HEAD tag alias,
which we believe is a bug.
To reproduce the problem:
1. Add a new file to mainline, new revision
1.1
2. Tag -b the file to a branch.
3. modify and checkin the file in mainline,
creating 1.2.
4. update the file to the created branch,
retrieving sticky-tagged 1.1
5. cvs diff -r HEAD file
The HEAD is determining the current branch based
from the
1.1 revision number, instead of the sticky-tag
name, and so
the diff -rHEAD is diffing to the mainline 1.2,
instead of the
1.1 head of the branch. When a change is checked
into the
branch (creating 1.1.2.1), cvs diff -rHEAD
correctly determines
the current branch. It is only when the branched
file hasn't yet
been changed in the branch that the -rHEAD is
coming out wrong.
In CVS-1.9, which we've just upgraded from, the
-rHEAD would
correctly identify the current branch the file is
sticky-tagged to,
and diff to that branch.
I don't know what else to put in a reporting a bug
email, so I'll
just be on my way...
Cheers,
Rob Bresner
Open Link Financial
rbresner@olf.com
|
[Prev in Thread] | Current Thread | [Next in Thread] |