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

Re: Single-DB: should "status -u" recurse into missing dir? (merge_tests 16 failure)

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Fri, 27 Aug 2010 17:40:02 +0200

On 27.08.2010 17:32, Julian Foad wrote:
> In single-DB world, the WC generated in merge_tests.py 16, a directory
> 'A/B/F/Q' has been deleted from disk without informing Subversion, so
> its status is 'missing'.
>
> Look at the difference between these two "svn status" runs on it:
>
> $ svn st A/B/F -vu
> ! 2 2 jrandom A/B/F/Q
> ! 2 2 jrandom A/B/F/foo
> 1 1 jrandom A/B/F
> Status against revision: 3
>
> $ svn st A/B/F -v
> 1 1 jrandom A/B/F
> ! 2 2 jrandom A/B/F/Q
> ! 3 3 jrandom A/B/F/Q/R
> ! 3 3 jrandom A/B/F/Q/R/bar
> ! 3 3 jrandom A/B/F/Q/baz
> ! 2 2 jrandom A/B/F/foo
>
> In the old multi-DB WC world, status was not able to recurse into a
> missing directory because the metadata's unavailable, so it didn't,
> neither in local mode nor in '-u' mode. (In '-u' mode of course it
> could find out what children of 'Q' are in the repo, but it didn't.)
>
> Now, in single-DB, it can report the whole WC status. But should it?
>
> I don't know whether to make it stop there (for back compat?) or
> recurse. Either way, the current inconsistency is, I think, wrong.

I would say if -u is given, it should recurse. If it's not set, then
there's no need to recurse because all subitems have the same missing
state as the deleted folder.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
Received on 2010-08-27 17:40:49 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.