You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by br...@apache.org on 2013/04/18 22:38:44 UTC

svn commit: r1469556 - /subversion/trunk/subversion/libsvn_repos/fs-wrap.c

Author: breser
Date: Thu Apr 18 20:38:44 2013
New Revision: 1469556

URL: http://svn.apache.org/r1469556
Log:
Fix svn_repos_fs_change_rev_prop4() not loading the hook environment when only
the pre_revprop_change_hook was requested.

* subversion/libsvn_repos/fs-wrap.c
  (svn_repos_fs_change_rev_prop4): Change one of the duplicated
    use_post_revprop_change_hook variables in the expression to
    use_pre_revprop_change_hook.

Modified:
    subversion/trunk/subversion/libsvn_repos/fs-wrap.c

Modified: subversion/trunk/subversion/libsvn_repos/fs-wrap.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_repos/fs-wrap.c?rev=1469556&r1=1469555&r2=1469556&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_repos/fs-wrap.c (original)
+++ subversion/trunk/subversion/libsvn_repos/fs-wrap.c Thu Apr 18 20:38:44 2013
@@ -357,7 +357,7 @@ svn_repos_fs_change_rev_prop4(svn_repos_
         action = 'M';
 
       /* Parse the hooks-env file (if any, and if to be used). */
-      if (use_post_revprop_change_hook || use_post_revprop_change_hook)
+      if (use_pre_revprop_change_hook || use_post_revprop_change_hook)
         SVN_ERR(svn_repos__parse_hooks_env(&hooks_env, repos->hooks_env_path,
                                            pool, pool));