summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorXavier Santolaria <xsa@cvs.openbsd.org>2005-08-12 06:36:15 +0000
committerXavier Santolaria <xsa@cvs.openbsd.org>2005-08-12 06:36:15 +0000
commit0bcb0e9bfb2733e9e95cf402329a68a269ac7a7c (patch)
tree3f370ea7272da4c4cae99cdcf4ce1e85e1cf23b5 /usr.bin
parentf82c3eb64ed7a3bdd6936a60269bdf2b8d86c108 (diff)
a few things left to do here.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/cvs/remove.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/usr.bin/cvs/remove.c b/usr.bin/cvs/remove.c
index 1561b7a0a4b..3f415954717 100644
--- a/usr.bin/cvs/remove.c
+++ b/usr.bin/cvs/remove.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: remove.c,v 1.33 2005/08/10 15:34:46 xsa Exp $ */
+/* $OpenBSD: remove.c,v 1.34 2005/08/12 06:36:14 xsa Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* Copyright (c) 2004, 2005 Xavier Santolaria <xsa@openbsd.org>
@@ -175,6 +175,9 @@ cvs_remove_local(CVSFILE *cf, void *arg)
cf->cf_name);
return (0);
} else if (cf->cf_cvstat == CVS_FST_ADDED) {
+
+ /* XXX scratch it from CVS/Entries */
+
l = snprintf(buf, sizeof(buf), "%s/%s%s",
CVS_PATH_CVSDIR, cf->cf_name, CVS_DESCR_FILE_EXT);
if (l == -1 || l >= (int)sizeof(buf)) {
@@ -195,6 +198,9 @@ cvs_remove_local(CVSFILE *cf, void *arg)
cf->cf_name);
return (0);
} else {
+
+ /* XXX prefix file version with the `-' char in CVS/Entries */
+
if (verbosity > 1)
cvs_log(LP_NOTICE, "scheduling file `%s' for removal",
cf->cf_name);