summaryrefslogtreecommitdiff
path: root/usr.bin/cvs
diff options
context:
space:
mode:
authorXavier Santolaria <xsa@cvs.openbsd.org>2007-07-17 16:13:40 +0000
committerXavier Santolaria <xsa@cvs.openbsd.org>2007-07-17 16:13:40 +0000
commit47fe2ebec5caca04818b85c7cd0d4d311c8b57ab (patch)
tree6609cac993642be6eaafe4f410a9810bbe4df4c1 /usr.bin/cvs
parent3c0cfe000429687b498d64a42858f25abe81becb (diff)
Do not send the Directory request when using the rlog command.
OK joris@.
Diffstat (limited to 'usr.bin/cvs')
-rw-r--r--usr.bin/cvs/client.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/cvs/client.c b/usr.bin/cvs/client.c
index 1cda377d241..c2bba090508 100644
--- a/usr.bin/cvs/client.c
+++ b/usr.bin/cvs/client.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: client.c,v 1.69 2007/07/03 13:22:42 joris Exp $ */
+/* $OpenBSD: client.c,v 1.70 2007/07/17 16:13:39 xsa Exp $ */
/*
* Copyright (c) 2006 Joris Vink <joris@openbsd.org>
*
@@ -390,7 +390,8 @@ cvs_client_senddir(const char *dir)
cvs_get_repository_path(dir, repo, MAXPATHLEN);
- cvs_client_send_request("Directory %s\n%s", dir, repo);
+ if (cvs_cmdop != CVS_OP_RLOG)
+ cvs_client_send_request("Directory %s\n%s", dir, repo);
(void)xsnprintf(fpath, MAXPATHLEN, "%s/%s",
dir, CVS_PATH_STATICENTRIES);