summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/rcs.h
diff options
context:
space:
mode:
authorJoris Vink <joris@cvs.openbsd.org>2005-12-03 01:02:10 +0000
committerJoris Vink <joris@cvs.openbsd.org>2005-12-03 01:02:10 +0000
commitef47fbf93d2302d521921cce5f98a093b4779e9f (patch)
tree50d76a77cc19c09cea910a3890611cb290e63bab /usr.bin/cvs/rcs.h
parent1c6cd252eaeaeedbd87c69d5843ae9550b20ee91 (diff)
add very basic support for the following stuff:
- checkout in local mode (example: /cvs) - update in local and server mode (example: /cvs and user@host:/cvs) - import in local and server mode (example: /cvs and user@host:/cvs) what remains to be done: - not all options are supported yet, and update cannot pick up newly added files yet. these things are pending and will be commited real soon. - checkout only works locally right now. - fix rcs parsing code so that we don't fucking hog 100% cpu on really BIG BIG BIG ass trees. mainly tested by pedro@ and myself, thanks a lot pedro! "go for it" niallo@
Diffstat (limited to 'usr.bin/cvs/rcs.h')
-rw-r--r--usr.bin/cvs/rcs.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/usr.bin/cvs/rcs.h b/usr.bin/cvs/rcs.h
index ba730c3ba9f..df38304752d 100644
--- a/usr.bin/cvs/rcs.h
+++ b/usr.bin/cvs/rcs.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: rcs.h,v 1.39 2005/12/01 18:22:09 xsa Exp $ */
+/* $OpenBSD: rcs.h,v 1.40 2005/12/03 01:02:09 joris Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -105,6 +105,11 @@
#define RCS_ERR_PARSE 5
#define RCS_ERR_ERRNO 255
+/* used for cvs_checkout_rev */
+#define CHECKOUT_REV_CREATED 1
+#define CHECKOUT_REV_MERGED 2
+#define CHECKOUT_REV_REMOVED 3
+
typedef struct rcs_num {
u_int rn_len;
u_int16_t *rn_id;