[svk-commit] r2935 - trunk/lib/SVK

nobody at bestpractical.com nobody at bestpractical.com
Sat Jun 28 00:42:12 EDT 2008


Author: ruz
Date: Sat Jun 28 00:42:10 2008
New Revision: 2935

Modified:
   trunk/lib/SVK/Root.pm

Log:
* we check $_[0]->txn earlier

Modified: trunk/lib/SVK/Root.pm
==============================================================================
--- trunk/lib/SVK/Root.pm	(original)
+++ trunk/lib/SVK/Root.pm	Sat Jun 28 00:42:10 2008
@@ -89,7 +89,7 @@
     # txn also, we need to use a new pool, otherwise it segfaults for
     # doing allocation in a pool that is being destroyed.
     $_[0]->txn->abort( SVN::Pool->new )
-        if $_[0]->txn && ( $_[0]->cleanup_pid || $$ ) == $$;
+        if ( $_[0]->cleanup_pid || $$ ) == $$;
 }
 
 # return the root and path on the given revnum, the returned path is


More information about the svk-commit mailing list