summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/repository.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/repository.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/repository.c')
-rw-r--r--usr.bin/cvs/repository.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/cvs/repository.c b/usr.bin/cvs/repository.c
index e0773886081..423a9ce0768 100644
--- a/usr.bin/cvs/repository.c
+++ b/usr.bin/cvs/repository.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: repository.c,v 1.12 2007/02/22 06:42:09 otto Exp $ */
+/* $OpenBSD: repository.c,v 1.13 2007/06/01 17:47:47 niallo Exp $ */
/*
* Copyright (c) 2006 Joris Vink <joris@openbsd.org>
*
@@ -101,7 +101,6 @@ cvs_repository_getdir(const char *dir, const char *wdir,
while ((dp = readdir(dirp)) != NULL) {
if (!strcmp(dp->d_name, ".") ||
!strcmp(dp->d_name, "..") ||
- !strcmp(dp->d_name, CVS_PATH_ATTIC) ||
!strcmp(dp->d_name, CVS_LOCK))
continue;