[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: John Mcgrath <john.mcgrath_at_xilinx.com>
Date: Mon, 8 Sep 2008 17:29:01 +0100

Hi Julian, Karl,
Thank you both for this!
I have aliased svnls to be 'svn ls -r HEAD', so I can run a quick 'ls'
on the repository, without having to update my workspace first, and it
works wonderfully!!

Thanks again!
John

-----Original Message-----
From: Julian Foad [mailto:julianfoad_at_btopenworld.com]
Sent: Monday, September 08, 2008 5:20 PM
To: John Mcgrath
Cc: Karl Fogel; users_at_subversion.tigris.org; dev_at_subversion.tigris.org
Subject: RE: svn list no working for some working directories

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!)

John,

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

This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.

---------------------------------------------------------------------
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:47:26 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.