From 37f21c019fde3d15978aecdb3d321722e6fb810a Mon Sep 17 00:00:00 2001 From: Joris Vink Date: Sat, 1 Mar 2008 22:35:45 +0000 Subject: use file_rcsrev in update_clear_conflict() - this way we will always pick up the correct revision. --- usr.bin/cvs/update.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.bin/cvs/update.c b/usr.bin/cvs/update.c index 5334528444e..c7c704a572f 100644 --- a/usr.bin/cvs/update.c +++ b/usr.bin/cvs/update.c @@ -1,4 +1,4 @@ -/* $OpenBSD: update.c,v 1.133 2008/02/28 21:55:48 tobias Exp $ */ +/* $OpenBSD: update.c,v 1.134 2008/03/01 22:35:44 joris Exp $ */ /* * Copyright (c) 2006 Joris Vink * @@ -473,7 +473,7 @@ update_clear_conflict(struct cvs_file *cf) ctime_r(&now, timebuf); timebuf[strcspn(timebuf, "\n")] = '\0'; - rcsnum_tostr(cf->file_ent->ce_rev, revbuf, sizeof(revbuf)); + rcsnum_tostr(cf->file_rcsrev, revbuf, sizeof(revbuf)); sticky[0] = '\0'; if (cf->file_ent->ce_tag != NULL) -- cgit v1.2.3