diff options
author | Tobias Stoeckmann <tobias@cvs.openbsd.org> | 2007-09-22 15:30:30 +0000 |
---|---|---|
committer | Tobias Stoeckmann <tobias@cvs.openbsd.org> | 2007-09-22 15:30:30 +0000 |
commit | acc63f92f03623ac223849c524dc055a5c318d18 (patch) | |
tree | 2abbaa8ddcab2221a8371d9973dec855e2c89c05 /usr.bin/cvs/client.c | |
parent | b09b9dcec7c5b9e8c9843e74967362d18c3a4827 (diff) |
Support for checkout with a local repository already in place.
OK joris@
Diffstat (limited to 'usr.bin/cvs/client.c')
-rw-r--r-- | usr.bin/cvs/client.c | 6 |
1 files changed, 2 insertions, 4 deletions
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 <joris@openbsd.org> * @@ -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", |