You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by st...@apache.org on 2010/11/11 13:43:16 UTC

svn commit: r1033917 - /subversion/trunk/subversion/svn/util.c

Author: stsp
Date: Thu Nov 11 12:43:16 2010
New Revision: 1033917

URL: http://svn.apache.org/viewvc?rev=1033917&view=rev
Log:
* subversion/svn/util.c
  (svn_cl__print_commit_info): Re-order checks for efficiency.

Suggested by: rhuijben

Modified:
    subversion/trunk/subversion/svn/util.c

Modified: subversion/trunk/subversion/svn/util.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/svn/util.c?rev=1033917&r1=1033916&r2=1033917&view=diff
==============================================================================
--- subversion/trunk/subversion/svn/util.c (original)
+++ subversion/trunk/subversion/svn/util.c Thu Nov 11 12:43:16 2010
@@ -73,8 +73,8 @@ svn_cl__print_commit_info(const svn_comm
   if (SVN_IS_VALID_REVNUM(commit_info->revision))
     SVN_ERR(svn_cmdline_printf(pool, _("\nCommitted revision %ld%s.\n"),
                                commit_info->revision,
+                               commit_info->revision == 42 &&
                                getenv("SVN_I_LOVE_PANGALACTIC_GARGLE_BLASTERS")
-                                 && commit_info->revision == 42
                                  ?  _(" (the answer to life, the universe, "
                                       "and everything)")
                                  : ""));