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

Re: user decides what to use as file-compare

From: mark benedetto king <mbk_at_boredom.org>
Date: 2003-04-30 20:01:53 CEST

On Tue, Apr 29, 2003 at 07:33:37AM +0200, Branko ??ibej wrote:
> mark benedetto king wrote:
>
> >On Mon, Apr 28, 2003 at 12:51:50PM -0500, cmpilato@collab.net wrote:
> >
> >
> >>To assume the .svn is bogus is to practically require a checkout. I
> >>mean, what else is checkout but the creation of a bunch of .svn
> >>directories plus the addition copy-and-translation of a pristine
> >>text-base out into the working file area?
> >>
> >>
> >Well, we *do* know what the checksums should be, which is why there's
> >issue 1177. I don't recall whether 1177 mentions that bogosity could
> >be repaired on-the-fly, but that's an obvious next-step.
> >
> >
> If we assume that .svn is corrupt, then we don't know what the checksums
> would be.
>

If the consistency of .svn as a whole is in doubt, then we cannot even
determine which revision(s) to obtain. I was thinking about the case where
somehow the text-base had become corrupt, but the metadata was still correct.

If .svn is not to be trusted, then it's probably most expedient to

find baddir -name .svn | xargs rm -rf
tar czvf /tmp/working-files.tgz baddir
svn co the appropriate revision
tar xzvf /tmp/working-files.tgz

--ben

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Apr 30 20:03:20 2003

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