This patch is to correct the command line for the 'svnadmin dump' command.
Regards,
Chris
Log
* doc/book/book/ch05.xml:
Fix the command line for 'svnadmin dump'.
Index: doc/book/book/ch05.xml
===================================================================
--- doc/book/book/ch05.xml (revision 7319)
+++ doc/book/book/ch05.xml (working copy)
@@ -1556,9 +1556,9 @@
one large one, like so:</para>
<screen>
-$ svnadmin dump myrepos 0 1000 > dumpfile1
-$ svnadmin dump myrepos 1001 2000 --incremental > dumpfile2
-$ svnadmin dump myrepos 2001 3000 --incremental > dumpfile3
+$ svnadmin dump myrepos --revision 0:1000 > dumpfile1
+$ svnadmin dump myrepos --revision 1001:2000 --incremental > dumpfile2
+$ svnadmin dump myrepos --revision 2001:3000 --incremental > dumpfile3
</screen>
<para>These dump files could be loaded into a new repository with
@@ -1609,7 +1609,7 @@
chomp $youngest;
# Do the backup.
-`svnadmin dump $repos_path $new_start $youngest --incremental >>
$dumpfile`;
+`svnadmin dump $repos_path --revision $new_start:$youngest --incremental >>
$dumpfile`;
# Store a new last-dumped revision
open LASTDUMPED, "> $last_dumped" or die;
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Oct 6 23:50:11 2003