From acc63f92f03623ac223849c524dc055a5c318d18 Mon Sep 17 00:00:00 2001 From: Tobias Stoeckmann Date: Sat, 22 Sep 2007 15:30:30 +0000 Subject: Support for checkout with a local repository already in place. OK joris@ --- usr.bin/cvs/client.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'usr.bin/cvs/client.c') diff --git a/usr.bin/cvs/client.c b/usr.bin/cvs/client.c index 0a3e9ce9842..237bd6034f9 100644 --- a/usr.bin/cvs/client.c +++ b/usr.bin/cvs/client.c @@ -1,4 +1,4 @@ -/* $OpenBSD: client.c,v 1.80 2007/09/17 18:36:54 tobias Exp $ */ +/* $OpenBSD: client.c,v 1.81 2007/09/22 15:30:29 tobias Exp $ */ /* * Copyright (c) 2006 Joris Vink * @@ -398,9 +398,7 @@ cvs_client_senddir(const char *dir) cvs_get_repository_path(dir, repo, MAXPATHLEN); - if (cvs_cmdop == CVS_OP_CHECKOUT && strcmp(dir, ".")) - return; - else if (cvs_cmdop != CVS_OP_RLOG) + if (cvs_cmdop != CVS_OP_RLOG) cvs_client_send_request("Directory %s\n%s", dir, repo); (void)xsnprintf(fpath, MAXPATHLEN, "%s/%s", -- cgit v1.2.3