[Bps-public-commit] r14280 - Prophet/trunk/lib/Prophet/Replica
jesse at bestpractical.com
jesse at bestpractical.com
Fri Jul 18 15:23:21 EDT 2008
Author: jesse
Date: Fri Jul 18 15:22:32 2008
New Revision: 14280
Modified:
Prophet/trunk/lib/Prophet/Replica/Native.pm
Log:
* slightly better error messages when you pull from a replica that seems to be not-there
Modified: Prophet/trunk/lib/Prophet/Replica/Native.pm
==============================================================================
--- Prophet/trunk/lib/Prophet/Replica/Native.pm (original)
+++ Prophet/trunk/lib/Prophet/Replica/Native.pm Fri Jul 18 15:22:32 2008
@@ -103,8 +103,12 @@
# We have a filesystem based replica. we can perform a create
$self->initialize();
- } else {
+ } elsif ($self->can_write_changesets) {
die "We can only create file: based prophet replicas. It looks like you're trying to create " . $self->url;
+ } else {
+ die "Prophet couldn't find a replica at \"".$self->url."\"\n\n".
+ "Please check the number and dial again.\n";
+
}
}
More information about the Bps-public-commit
mailing list