[ Note from the future: reverted in r1476635. ]

* subversion/svnserve/serve.c (update): Silence a warning about conversion
   of apr_uint64_t to svn_boolean_t by explicitly making the argument to
   svn_log__update a boolean expression.
  (update, switch_cmd): Incidentally, replace the cases where we had
   checks like this: "variable == TRUE" to "variable != FALSE" instead,
   since the latter is more robust given C's truth-value rules.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1476563 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/subversion/svnserve/serve.c b/subversion/svnserve/serve.c
index 9e49bdd..4200719 100644
--- a/subversion/svnserve/serve.c
+++ b/subversion/svnserve/serve.c
@@ -1843,8 +1843,8 @@
   SVN_ERR(accept_report(&is_checkout, NULL,
                         conn, pool, b, rev, target, NULL, TRUE,
                         depth,
-                        (send_copyfrom_args == TRUE) /* send_copyfrom_args */,
-                        (ignore_ancestry == TRUE) /* ignore_ancestry */));
+                        (send_copyfrom_args != FALSE), /* send_copyfrom_args */
+                        (ignore_ancestry != FALSE)));  /* ignore_ancestry */
   if (is_checkout)
     {
       SVN_ERR(log_command(b, conn, pool, "%s",
@@ -1855,7 +1855,8 @@
     {
       SVN_ERR(log_command(b, conn, pool, "%s",
                           svn_log__update(full_path, rev, depth,
-                                          send_copyfrom_args, pool)));
+                                          (send_copyfrom_args != FALSE),
+                                          pool)));
     }
 
   return SVN_NO_ERROR;
@@ -1905,7 +1906,7 @@
   return accept_report(NULL, NULL,
                        conn, pool, b, rev, target, switch_path, TRUE,
                        depth,
-                       (send_copyfrom_args == TRUE) /* send_copyfrom_args */,
+                       (send_copyfrom_args != FALSE) /* send_copyfrom_args */,
                        (ignore_ancestry != FALSE) /* ignore_ancestry */);
 }