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

Re: [PATCH] Implement svnadmin verify --force

From: Stefan Fuhrmann <stefan.fuhrmann_at_wandisco.com>
Date: Thu, 18 Oct 2012 23:20:45 +0200

On Thu, Oct 18, 2012 at 11:00 PM, Daniel Shahaf <d.s_at_daniel.shahaf.name>wrote:

> Prabhu Gnana Sundar wrote on Thu, Oct 18, 2012 at 20:35:03 +0530:
> > Hi all,
> >
> > Currently svnadmin verify would stop verification process once an
> > error/corruption is found in the repo. It does not go till the HEAD of
> > the repo to see if there are further corruptions/errors.
> >
>
> Why is
>
> r=0
> HEAD=$(svnlook youngest $repos)
> while [ $r -le $HEAD ]; do
> svnadmin verify -r$r $repos
> r=$(($r + 1))
> done
>
> not an option?
>

It will not report multiple issues with the same revision
(e.g. predecessor revision mismatch + MD5 mismatch).

-- Stefan^2.

-- 
*
Join us this October at Subversion Live
2012<http://www.wandisco.com/svn-live-2012>
 for two days of best practice SVN training, networking, live demos,
committer meet and greet, and more! Space is limited, so get signed up
today<http://www.wandisco.com/svn-live-2012>
!
*
Received on 2012-10-18 23:21:21 CEST

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.