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

Re: AW: Corrupt .svn directory using Subversion 1.7

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Mon, 20 Aug 2012 12:21:25 +0100

Steven Lee <stlee987_at_gmail.com> writes:

> On Aug 19, 2012 11:45 PM, "Steven Lee" <stlee987_at_gmail.com> wrote:
>>
>> Yes, I tried "svn update --set-depth infinity" and nothing happened.
> Many of the files are still missing from my working copy. It does seem
> like that should have worked.
>>
>
> Just to be clear, I tried "svn update --set-depth infinity" in the foodir
> directory and "svn update --set-depth infinity foodir" in foodir's parent
> directory.

The problem is that in 1.7 the operation you interrupted is not properly
atomic so foodir is probably still marked as depth infinity despite
haoving missing children.

  sqlite .svn/wc.db "select local_relpath, depth from nodes where local_relpath like 'foodir%'"

So you probably have to do:

  svn up --set-depth empty foodir

before

  svn up --set-depth infinity foodir

will work.

-- 
Philip
Received on 2012-08-20 13:22:07 CEST

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.