[svk-commit] r2531 - branches/mirror-boostrap/utils

nobody at bestpractical.com nobody at bestpractical.com
Wed Aug 8 11:43:11 EDT 2007


Author: clsung
Date: Wed Aug  8 11:43:09 2007
New Revision: 2531

Modified:
   branches/mirror-boostrap/utils/mipush

Log:
- diag m

Modified: branches/mirror-boostrap/utils/mipush
==============================================================================
--- branches/mirror-boostrap/utils/mipush	(original)
+++ branches/mirror-boostrap/utils/mipush	Wed Aug  8 11:43:09 2007
@@ -41,6 +41,8 @@
 my $t  = SVK::Path->real_new({ depot => $depot, path => $path })
     ->refresh_revision;
 my ( $m, $mpath ) = $t->is_mirrored;
+die $t->depotpath." is not a mirrored path.\n" if !$m;
+die $t->depotpath." is inside a mirrored path.\n" if $mpath;
 die "only whole repository mirrors are supported.\n" if length($mpath);
 
 


More information about the svk-commit mailing list