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

ER for svnadmin dump and svnadmin load - add dump file parameter <gd&r from cmpilato!>

From: Walter Nicholls <walter.nicholls_at_cornerstone.co.nz>
Date: 2003-11-10 22:45:27 CET

(To avoid cluttering the issue tracker with instantly squashed
issues...)

  Svnadmin dump ... >dumpfile
and
  svnadmin load ... <dump

A couple of things
* Under Windows, this kind of thing can be really hard to script
Eg I had a batch file svnadmin.cmd that contained
    "c:\program files\subversion\svnadmin.exe" %1 %2 %3 %4 %5 %6

"Svnadmin dump etc etc >etc.dump" did not produce the expected results!

Also using stdout/in implies to me that the dump file is a text file -
things sent to/got from stdout/in usually are, and it sure *looked* like
a text file. (I guess I should have dumped a repository with a few more
binary files).

Would it be possible to add a filename parameter, say

    svnadmin dump /repos --output-file dumpfile
And svnadmin load /repos --input-file dumpfile

(Or would --file be appropriate? This sounds wrong to me)

Using stdin/out for this is ok and great for piping .. but being the
only option is discomforting. I've lost count of the number of times I
typed "svnadmin load /repos dumpfile" this morning and wondered why
nothing was happening (it was waiting for input on stdin if that's not
obvious).

I guess the same argument applies to SVN CAT

Quite prepared for this to be Post-1.0

- Walter

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Nov 10 22:42:43 2003

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

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