Index: /trunk/Nebulous/Changes
===================================================================
--- /trunk/Nebulous/Changes	(revision 19714)
+++ /trunk/Nebulous/Changes	(revision 19715)
@@ -2,4 +2,5 @@
 
 0.10
+    - allow ->replicate() volume param to be undef
     - fix ->delete() still work if the neb implies a volume on which there is
       no instance
Index: /trunk/Nebulous/lib/Nebulous/Client.pm
===================================================================
--- /trunk/Nebulous/lib/Nebulous/Client.pm	(revision 19714)
+++ /trunk/Nebulous/lib/Nebulous/Client.pm	(revision 19715)
@@ -1,5 +1,5 @@
 # Copyright (c) 2004-2008  Joshua Hoblitt
 #
-# $Id: Client.pm,v 1.59 2008-09-11 23:02:23 jhoblitt Exp $
+# $Id: Client.pm,v 1.60 2008-09-24 00:36:56 jhoblitt Exp $
 
 package Nebulous::Client;
@@ -191,5 +191,5 @@
         {
             # volume
-            type        => SCALAR,
+            type        => SCALAR|UNDEF,
             optional    => 1,
         },
Index: /trunk/Nebulous/t/52_client_replicate.t
===================================================================
--- /trunk/Nebulous/t/52_client_replicate.t	(revision 19714)
+++ /trunk/Nebulous/t/52_client_replicate.t	(revision 19715)
@@ -3,5 +3,5 @@
 # Copryight (C) 2004-2005  Joshua Hoblitt
 #
-# $Id: 52_client_replicate.t,v 1.1 2005-12-03 02:52:31 jhoblitt Exp $
+# $Id: 52_client_replicate.t,v 1.2 2008-09-24 00:36:56 jhoblitt Exp $
 
 use strict;
@@ -10,5 +10,5 @@
 use Apache::Test qw( -withtestmore );
 
-plan tests => 11;
+plan tests => 13;
 
 use lib qw( ./t ./lib );
@@ -45,4 +45,19 @@
 
     my $uri = $neb->replicate( "foo", "node01" );
+
+    ok( $uri, "good replication" );
+    ok( -e _get_file_path( $uri ), "file exists" );
+}
+
+Test::Nebulous->setup;
+
+{
+    # key, $volume = undef (same as saying no volume)
+    my $neb = Nebulous::Client->new(
+        proxy => "http://$hostport/nebulous",
+    );
+    $neb->create( "neb://node01/foo" );
+
+    my $uri = $neb->replicate( "neb://node01/foo", undef );
 
     ok( $uri, "good replication" );
