summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/commit.c
diff options
context:
space:
mode:
authorNiall O'Higgins <niallo@cvs.openbsd.org>2007-06-01 17:47:48 +0000
committerNiall O'Higgins <niallo@cvs.openbsd.org>2007-06-01 17:47:48 +0000
commit55f2ba3781318b7859fa01dea8f70c83af0e2fcd (patch)
tree67b92eb83492cf561bdcde3e70c211dcc3df0783 /usr.bin/cvs/commit.c
parentc54ed097c1e1ef429f60d9c3b2d45d7188f30599 (diff)
add support for local and remote branch checkout. for example,
cvs co -rOPENBSD_3_0 works now. along the way, simplify and rationalise code and fix a few nits. ok joris@ xsa@ ray@
Diffstat (limited to 'usr.bin/cvs/commit.c')
-rw-r--r--usr.bin/cvs/commit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cvs/commit.c b/usr.bin/cvs/commit.c
index 38ee6925a6a..4c68519b07f 100644
--- a/usr.bin/cvs/commit.c
+++ b/usr.bin/cvs/commit.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: commit.c,v 1.105 2007/02/22 06:42:09 otto Exp $ */
+/* $OpenBSD: commit.c,v 1.106 2007/06/01 17:47:47 niallo Exp $ */
/*
* Copyright (c) 2006 Joris Vink <joris@openbsd.org>
* Copyright (c) 2006 Xavier Santolaria <xsa@openbsd.org>
@@ -239,7 +239,7 @@ cvs_commit_local(struct cvs_file *cf)
rcsflags = RCS_CREATE;
openflags = O_CREAT | O_TRUNC | O_WRONLY;
if (cf->file_rcs != NULL) {
- if (cf->file_rcs->rf_inattic == 0)
+ if (cf->in_attic == 0)
cvs_log(LP_ERR, "warning: expected %s "
"to be in the Attic", cf->file_path);