You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by rh...@apache.org on 2014/02/20 18:01:56 UTC
svn commit: r1570275 - /subversion/trunk/subversion/libsvn_client/diff.c
Author: rhuijben
Date: Thu Feb 20 17:01:56 2014
New Revision: 1570275
URL: http://svn.apache.org/r1570275
Log:
* subversion/libsvn_client/diff.c
(diff_repos_repos): Fix stupid test condition that I broke when switching
between == svn_node_file and != svn_node_dir.
Modified:
subversion/trunk/subversion/libsvn_client/diff.c
Modified: subversion/trunk/subversion/libsvn_client/diff.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_client/diff.c?rev=1570275&r1=1570274&r2=1570275&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_client/diff.c (original)
+++ subversion/trunk/subversion/libsvn_client/diff.c Thu Feb 20 17:01:56 2014
@@ -1706,7 +1706,7 @@ diff_repos_repos(const char **root_relpa
/* This should be moved to the diff writer
- path_or_url are provided by the caller
- target1 is available as *root_relpath
- - (kind1 != svn_node_dir || kind2 == svn_node_dir) = *root_is_dir */
+ - (kind1 != svn_node_dir || kind2 != svn_node_dir) = !*root_is_dir */
if (!svn_path_is_url(path_or_url2))
ddi->anchor = path_or_url2;
@@ -1716,7 +1716,7 @@ diff_repos_repos(const char **root_relpa
ddi->anchor = NULL;
if (*target1 && ddi->anchor
- && (kind1 != svn_node_dir || kind2 == svn_node_dir))
+ && (kind1 != svn_node_dir || kind2 != svn_node_dir))
ddi->anchor = svn_dirent_dirname(ddi->anchor, result_pool);
}