summaryrefslogtreecommitdiff
path: root/gnu/usr.bin
diff options
context:
space:
mode:
authorThorsten Lockert <tholo@cvs.openbsd.org>2001-02-11 01:50:19 +0000
committerThorsten Lockert <tholo@cvs.openbsd.org>2001-02-11 01:50:19 +0000
commitd29be1547bf78d0b0a58621cfff8c29ddbd7d197 (patch)
tree24da1259987ee0e9e250f40ed6af89c6baa309fd /gnu/usr.bin
parent0f8104cc3d3af65603b6540a26dee0d7e2391a05 (diff)
Disable bogus check for whether a file in the current directory (only!)
were checked out of a different CVSROOT -- makes it very hard to have replicated repositories.
Diffstat (limited to 'gnu/usr.bin')
-rw-r--r--gnu/usr.bin/cvs/src/client.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/gnu/usr.bin/cvs/src/client.c b/gnu/usr.bin/cvs/src/client.c
index 6a4014749f9..c82896ab21c 100644
--- a/gnu/usr.bin/cvs/src/client.c
+++ b/gnu/usr.bin/cvs/src/client.c
@@ -262,21 +262,22 @@ arg_should_not_be_sent_to_server (arg)
this_root = Name_Root ((char *) NULL, (char *) NULL);
}
+ /*
+ * This is so bogus! Means if you have checked out from
+ * a replica of a repository, and then when you want to
+ * check it in to the real (read/write) repository, the
+ * file will be skipped!
+ */
+#if 0
/* Now check the value for root. */
if (this_root && current_root
&& (strcmp (this_root, current_root) != 0))
{
/* Don't send this, since the CVSROOTs don't match. */
free (this_root);
-
- /*
- * This is so bogus! Means if you have checked out from
- * a replica of a repository, and then when you want to
- * check it in to the real (read/write) repository, the
- * file will be skipped!
- */
return 1;
}
+#endif
free (this_root);
}