[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Cvs-cvs] Changes to ccvs/src/client.c
From: |
Derek Robert Price |
Subject: |
[Cvs-cvs] Changes to ccvs/src/client.c |
Date: |
Thu, 17 Nov 2005 08:24:39 -0500 |
Index: ccvs/src/client.c
diff -u ccvs/src/client.c:1.435 ccvs/src/client.c:1.436
--- ccvs/src/client.c:1.435 Wed Nov 16 03:42:30 2005
+++ ccvs/src/client.c Thu Nov 17 13:24:37 2005
@@ -1646,6 +1646,9 @@
or not based on whether the server supports "Rcs-diff".
Fall back to transmitting entire files. */
+ error (0, 0,
+ "unsupported patch format received for `%s'; will refetch",
+ short_pathname);
patch_failed = 1;
}
else
@@ -1674,7 +1677,11 @@
if (! rcs_change_text (short_pathname, filebuf, nread, buf, size,
&patchedbuf, &patchedlen))
+ {
+ error (0, 0, "patch failed for `%s'; will refetch",
+ short_pathname);
patch_failed = 1;
+ }
else
{
if (stored_checksum_valid)
@@ -1687,7 +1694,7 @@
md5_buffer (patchedbuf, patchedlen, checksum);
if (memcmp (checksum, stored_checksum, 16) != 0)
{
- TRACE (TRACE_FUNCTION,
+ error (0, 0,
"checksum failure after patch to `%s'; will refetch",
short_pathname);
@@ -1758,8 +1765,8 @@
error (1, 0, "checksum failure on %s",
short_pathname);
- TRACE (TRACE_FUNCTION,
- "checksum failure after patch to %s; will refetch",
+ error (0, 0,
+ "checksum failure after patch to `%s'; will refetch",
short_pathname);
patch_failed = 1;