[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Cvs-cvs] Changes to ccvs/src/client.c [signed-commits2]
From: |
Derek Robert Price |
Subject: |
[Cvs-cvs] Changes to ccvs/src/client.c [signed-commits2] |
Date: |
Thu, 08 Dec 2005 15:49:48 -0500 |
Index: ccvs/src/client.c
diff -u ccvs/src/client.c:1.433.4.19 ccvs/src/client.c:1.433.4.20
--- ccvs/src/client.c:1.433.4.19 Thu Dec 8 15:02:36 2005
+++ ccvs/src/client.c Thu Dec 8 20:49:44 2005
@@ -2312,6 +2312,8 @@
handle_base_checkout (char *args, size_t len)
{
bool istemp = false;
+ if (suppress_bases)
+ error (1, 0, "Server sent Base-* response when asked not to.");
call_in_directory (args, client_base_checkout, &istemp);
}
@@ -2321,6 +2323,8 @@
handle_temp_checkout (char *args, size_t len)
{
bool istemp = true;
+ if (suppress_bases)
+ error (1, 0, "Server sent Base-* response when asked not to.");
call_in_directory (args, client_base_checkout, &istemp);
}
@@ -2384,7 +2388,7 @@
/* If EXISTS[2] == "d", don't keep the base file. This happens
* when a merge adds a file and when `cvs add' resurrects a file.
*/
- if (flags[0] && flags [1] && flags[2] == 'd' && unlink_file (basefile) < 0)
+ if (flags[0] && flags [1] && flags[2] == 'd' && CVS_UNLINK (basefile) < 0)
error (0, errno, "Failed to delete `%s'", short_pathname);
free (flags);
@@ -2398,6 +2402,8 @@
static void
handle_base_copy (char *args, size_t len)
{
+ if (suppress_bases)
+ error (1, 0, "Server sent Base-* response when asked not to.");
call_in_directory (args, client_base_copy, NULL);
}
@@ -2541,6 +2547,8 @@
static void
handle_base_merge (char *args, size_t len)
{
+ if (suppress_bases)
+ error (1, 0, "Server sent Base-* response when asked not to.");
call_in_directory (args, client_base_merge, NULL);
}
@@ -2550,6 +2558,8 @@
handle_base_entry (char *args, size_t len)
{
struct update_entries_data dat;
+ if (suppress_bases)
+ error (1, 0, "Server sent Base-* response when asked not to.");
dat.contents = UPDATE_ENTRIES_BASE;
dat.existp = UPDATE_ENTRIES_EXISTING_OR_NEW;
dat.timestamp = NULL;
@@ -2562,6 +2572,8 @@
handle_base_merged (char *args, size_t len)
{
struct update_entries_data dat;
+ if (suppress_bases)
+ error (1, 0, "Server sent Base-* response when asked not to.");
dat.contents = UPDATE_ENTRIES_BASE;
dat.existp = UPDATE_ENTRIES_EXISTING_OR_NEW;
dat.timestamp = "Result of merge";
@@ -4596,6 +4608,10 @@
for (rs = responses; rs->name; ++rs)
{
if (suppress_redirect && !strcmp (rs->name, "Redirect"))
+ continue;
+ if (suppress_bases && !strncmp (rs->name, "Base-", 5))
+ continue;
+ if (suppress_bases && !strcmp (rs->name, "Temp-checkout"))
continue;
send_to_server (" ", 0);
- [Cvs-cvs] Changes to ccvs/src/client.c [signed-commits2], Derek Robert Price, 2005/12/01
- [Cvs-cvs] Changes to ccvs/src/client.c [signed-commits2], Derek Robert Price, 2005/12/01
- [Cvs-cvs] Changes to ccvs/src/client.c [signed-commits2], Derek Robert Price, 2005/12/01
- [Cvs-cvs] Changes to ccvs/src/client.c [signed-commits2], Derek Robert Price, 2005/12/02
- [Cvs-cvs] Changes to ccvs/src/client.c [signed-commits2], Derek Robert Price, 2005/12/05
- [Cvs-cvs] Changes to ccvs/src/client.c [signed-commits2], Derek Robert Price, 2005/12/06
- [Cvs-cvs] Changes to ccvs/src/client.c [signed-commits2], Derek Robert Price, 2005/12/08
- [Cvs-cvs] Changes to ccvs/src/client.c [signed-commits2],
Derek Robert Price <=