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

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

From: Julian Foad <julian.foad_at_wandisco.com>
Date: Fri, 27 Aug 2010 16:32:18 +0100

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.

Any insight?

- Julian
Received on 2010-08-27 17:33:33 CEST

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