summaryrefslogtreecommitdiffstats
path: root/contrib/cvs/src
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1996-12-12 04:37:35 +0000
committerasami <asami@FreeBSD.org>1996-12-12 04:37:35 +0000
commit7f054c1fb963f0800116d282835311a5a77e41a5 (patch)
treebf0c20d0685a5ec14084ae2a42f9bbd53146eb53 /contrib/cvs/src
parentf08c8082adec45de56aab0dc92613a9b3c3b9ce3 (diff)
downloadFreeBSD-src-7f054c1fb963f0800116d282835311a5a77e41a5.zip
FreeBSD-src-7f054c1fb963f0800116d282835311a5a77e41a5.tar.gz
Fix the "moving head" problem.
Diffstat (limited to 'contrib/cvs/src')
-rw-r--r--contrib/cvs/src/diff.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/cvs/src/diff.c b/contrib/cvs/src/diff.c
index 7520cec..707ca8e 100644
--- a/contrib/cvs/src/diff.c
+++ b/contrib/cvs/src/diff.c
@@ -509,7 +509,7 @@ diff_file_nodiff (file, repository, entries, rcs, vers)
{
/* special handling for TAG_HEAD */
if (diff_rev1 && strcmp (diff_rev1, TAG_HEAD) == 0)
- use_rev1 = xstrdup (vers->vn_rcs);
+ use_rev1 = xstrdup (vers->srcfile->head);
else
{
xvers = Version_TS (repository, (char *) NULL, diff_rev1,
@@ -536,7 +536,7 @@ diff_file_nodiff (file, repository, entries, rcs, vers)
{
/* special handling for TAG_HEAD */
if (diff_rev2 && strcmp (diff_rev2, TAG_HEAD) == 0)
- use_rev2 = xstrdup (vers->vn_rcs);
+ use_rev2 = xstrdup (vers->srcfile->head);
else
{
xvers = Version_TS (repository, (char *) NULL, diff_rev2,
OpenPOWER on IntegriCloud