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

Re: Verifying Backups

From: Chris Jensen <cjensen_at_edex.com.au>
Date: 2005-06-25 13:15:57 CEST

Thanks, to a suggestion that came out of list I'm comparing the result
of svn log -r 1:HEAD for the backup and original. This works nicely, but
doesn't verify that the actual content of the files is ok.

I tried doing
svn diff -r 1:HEAD and comparing the results, however the order that the
files are listed in is not consistant so running diff on the output does
not work.

Is there a way to force subversion to stick to an order? Or is there
another way of going about this?

The only other solution I can see is
svn export
both repositories and do a recursive diff on the results.
I'd prefer not to do this though since I would then need the disk space
for two copies of the repository.
With svn diff I have an output stream which I can just pipe to diff so I
don't actually need the disk space - which is preferable.


Chris Jensen cjensen@edex.com.au
Educational Experience (Australia)
Postal Address: PO Box 860, Newcastle NSW 2300
Freecall:       1-800-025 270      International: +61-2-4923 8222
Fax:            (02) 4942 1991     International: +61-2-4942 1991
Visit our online Toy store! http://www.toysandmore.com.au/

Received on Sat Jun 25 13:18:40 2005

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.