subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhuij...@apache.org
Subject svn commit: r1717628 - /subversion/branches/ra-git/subversion/libsvn_fs_git/git-revroot.c
Date Wed, 02 Dec 2015 13:30:25 GMT
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);



Mime
View raw message