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

RE: svn list no working for some working directories

From: Julian Foad <julianfoad_at_btopenworld.com>
Date: Mon, 08 Sep 2008 17:19:43 +0100

John Mcgrath wrote:
> Hi Karl,
> Thanks for your response on this - it is greatly appreciated.
> I modified your script to reproduce the error (well done, it is a very
> nice, neat way of describing a problem, I must say!)


Looking at what your script does, I can see this is just a case of the
default revision for "svn list" being "BASE" and not "HEAD". At the end
of your script, where you do "svn ls" in "wc1", you would find the same
lack of visibility in "wc" (because BASE rev of "." is still 1 though
BASE rev of the file that was committed is 2):

> $ svn st -v wc
> 1 1 julianfoad wc
> 2 2 julianfoad wc/ls_should_see
> 1 1 julianfoad wc/iota
> $ svn ls wc
> A/
> iota
> $ svn ls wc_at_HEAD
> A/
> iota
> ls_should_see/

In both wc and wc1, if you "svn update" first you'll see "svn ls" will
then show the newly added dir.

- Julian

To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-09-08 18:20:22 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.