[svk-commit] r2289 - trunk/lib/SVK/Command

nobody at bestpractical.com nobody at bestpractical.com
Sat Jan 6 08:15:20 EST 2007


Author: clkao
Date: Sat Jan  6 08:15:19 2007
New Revision: 2289

Modified:
   trunk/lib/SVK/Command/Mirror.pm

Log:
Be less noisy in mirror --list if depo has no mirrors.

Modified: trunk/lib/SVK/Command/Mirror.pm
==============================================================================
--- trunk/lib/SVK/Command/Mirror.pm	(original)
+++ trunk/lib/SVK/Command/Mirror.pm	Sat Jan  6 08:15:19 2007
@@ -195,6 +195,8 @@
         }
     }
 
+    return unless @mirror_columns;
+
     my $max_depot_path = max map { length $_->[0] } @mirror_columns;
     my $max_uri        = max map { length $_->[1] } @mirror_columns;
 


More information about the svk-commit mailing list