[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[PATCH] Use the correct dump command line in the book

From: Chris Foote <cfoote_at_v21.me.uk>
Date: 2003-10-06 23:29:57 CEST

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 &gt; dumpfile1
+$ svnadmin dump myrepos --revision 1001:2000 --incremental &gt; dumpfile2
+$ svnadmin dump myrepos --revision 2001:3000 --incremental &gt; 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, "&gt; $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

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.