diff options
author | Niall O'Higgins <niallo@cvs.openbsd.org> | 2007-06-01 17:47:48 +0000 |
---|---|---|
committer | Niall O'Higgins <niallo@cvs.openbsd.org> | 2007-06-01 17:47:48 +0000 |
commit | 55f2ba3781318b7859fa01dea8f70c83af0e2fcd (patch) | |
tree | 67b92eb83492cf561bdcde3e70c211dcc3df0783 /usr.bin/cvs/status.c | |
parent | c54ed097c1e1ef429f60d9c3b2d45d7188f30599 (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/status.c')
-rw-r--r-- | usr.bin/cvs/status.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cvs/status.c b/usr.bin/cvs/status.c index ded805a93d6..b83bd963224 100644 --- a/usr.bin/cvs/status.c +++ b/usr.bin/cvs/status.c @@ -1,4 +1,4 @@ -/* $OpenBSD: status.c,v 1.73 2007/02/22 06:42:09 otto Exp $ */ +/* $OpenBSD: status.c,v 1.74 2007/06/01 17:47:47 niallo Exp $ */ /* * Copyright (c) 2006 Joris Vink <joris@openbsd.org> * Copyright (c) 2005, 2006 Xavier Santolaria <xsa@openbsd.org> @@ -141,7 +141,7 @@ cvs_status_local(struct cvs_file *cf) if (cf->file_status == FILE_LOST || cf->file_status == FILE_UNKNOWN || - (cf->file_rcs != NULL && cf->file_rcs->rf_inattic == 1)) { + (cf->file_rcs != NULL && cf->in_attic == 1)) { (void)xsnprintf(buf, sizeof(buf), "no file %s\t", cf->file_name); } else |