summaryrefslogtreecommitdiff
path: root/devel/scmcvs/patches/patch-al
blob: 3cf88a9f4061bdc0e079f69bad4719eb0bf9eb4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
$NetBSD: patch-al,v 1.8 2017/12/18 08:51:48 adam Exp $

--- src/client.c.orig	2005-10-02 15:17:20.000000000 +0000
+++ src/client.c
@@ -4179,6 +4179,16 @@ start_server (void)
 	    error (1, 0,
 		   "This server does not support the global -n option.");
     }
+    if (nolock && !noexec)
+    {
+	if (have_global)
+	{
+	    send_to_server ("Global_option -u\012", 0);
+	}
+	else
+	    error (1, 0,
+		   "This server does not support the global -u option.");
+    }
     if (!cvswrite)
     {
 	if (have_global)