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 2015/12/02 14:30:25 UTC

svn commit: r1717628 - /subversion/branches/ra-git/subversion/libsvn_fs_git/git-revroot.c

Author: rhuijben
Date: Wed Dec  2 13:30:25 2015
New Revision: 1717628

URL: http://svn.apache.org/viewvc?rev=1717628&view=rev
Log:
On the ra-git branch: fix logic error in created rev obtaining.

* subversion/libsvn_fs_git/git-revroot.c
  (fs_git_node_created_rev): Reverse if to not destroy hard work.

Modified:
    subversion/branches/ra-git/subversion/libsvn_fs_git/git-revroot.c

Modified: subversion/branches/ra-git/subversion/libsvn_fs_git/git-revroot.c
URL: http://svn.apache.org/viewvc/subversion/branches/ra-git/subversion/libsvn_fs_git/git-revroot.c?rev=1717628&r1=1717627&r2=1717628&view=diff
==============================================================================
--- subversion/branches/ra-git/subversion/libsvn_fs_git/git-revroot.c (original)
+++ subversion/branches/ra-git/subversion/libsvn_fs_git/git-revroot.c Wed Dec  2 13:30:25 2015
@@ -788,7 +788,7 @@ fs_git_node_created_rev(svn_revnum_t *re
                                    root->fs, &last_oid,
                                    pool, iterpool));
 
-  if (SVN_IS_VALID_REVNUM(*revision))
+  if (!SVN_IS_VALID_REVNUM(*revision))
     *revision = root->rev;
 
   svn_pool_destroy(iterpool);