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

HOWTO: Screw up a repository (svnadmin load repo > svn_dump)

From: Jostein Christoffer Andersen <jostein_at_josander.net>
Date: 2002-11-14 18:24:54 CET

Hi,

I did somethithing bad today: -I destroyed a repository (but was saved by
a backup) and it was easy as:

  svnadmin load repo > svn_dump
                    ^^^
The resoulting 0 byte file svn_dump is worthless and the Revision number
will still be 0.

Cool eh? Well I don't think so. Of course, I should have typed:

  svnadmin load repo < svn_dump
                    ^^^
Big boys never takes backups but they often cry, but this time I had
luck.

Is it wise to make sure that svnadmin are checking that
((! left_side_of_gt_is_dir) && (! right_side_of_gt_is_file)) before
executing the command?

Jostein

-- 
----------------------------------------------------------------------
Jostein Christoffer Andersen <jostein@josander.net>
http://www.josander.net/
Public PGP Key:
Key: http://www.josander.net/pub_keys/jostein_josander.net.asc
----------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Nov 14 18:26:35 2002

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.