summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/checkout.c
diff options
context:
space:
mode:
authorJoris Vink <joris@cvs.openbsd.org>2007-06-18 17:54:14 +0000
committerJoris Vink <joris@cvs.openbsd.org>2007-06-18 17:54:14 +0000
commit357cd6706be35fc84900218b72b77a745a95ea3f (patch)
treef961aff0c604d664734c59d0ba52d2dd4d46938c /usr.bin/cvs/checkout.c
parent9ad5361739bdd9774873986561736d7d4c62130d (diff)
first stab at history stuff for opencvs, currently only writes
to CVSROOT/history but cannot parse it yet with the 'history' command. "Commit it." ray@
Diffstat (limited to 'usr.bin/cvs/checkout.c')
-rw-r--r--usr.bin/cvs/checkout.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/cvs/checkout.c b/usr.bin/cvs/checkout.c
index b044af1cbbb..b73dc53cda1 100644
--- a/usr.bin/cvs/checkout.c
+++ b/usr.bin/cvs/checkout.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: checkout.c,v 1.93 2007/06/01 17:47:47 niallo Exp $ */
+/* $OpenBSD: checkout.c,v 1.94 2007/06/18 17:54:13 joris Exp $ */
/*
* Copyright (c) 2006 Joris Vink <joris@openbsd.org>
*
@@ -189,6 +189,8 @@ checkout_repository(const char *repobase, const char *wdbase)
TAILQ_INIT(&fl);
TAILQ_INIT(&dl);
+ cvs_history_add(CVS_HISTORY_CHECKOUT, NULL, wdbase);
+
build_dirs = 1;
cr.enterdir = cvs_update_enterdir;
cr.leavedir = cvs_update_leavedir;