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

svn list no working for some working directories

From: John McGrath <john.mcgrath_at_xilinx.com>
Date: Fri, 5 Sep 2008 12:11:02 +0100

Hi All,
My understanding is that 'svn list' will show the contents of the
repository for the same path as the current directory in the workspace.

For example, if my workspace has
dir1/
dir2/
file1

but the repository has a new directory recently added, called dir3,
svn ls would report
dir1/
dir2/
dir3/
file1

i.e. it shows me the contents of the repository.

However, if the local workspace was originally checked out with the -N
(non-recursive) command,
running svn ls would only show me the directories I have, it would not
show me dir3!

This appears to be a bug - becuase if not, what advantage is svn ls over
plain ls, in this case?
I have tested this will the latest svn 1.5.2, and it still operates in
this way.

The same thing goes for svn update, if the local working direcotory was
originally checked out with -N, running svn update will only get the
contents of directories that are in the workspace.
It would be great if there was a switch to force recursion, like -R or
something, or even -R n, where n would be a number of levels.

At the very least, I think this is a bug in the terms of svn ls,
changing svn update to work as described is a bonus!

Cheers,
John (not subscribed)

-- 
***********************************************************************
/ /\/  John McGrath
\ \    Senior IC Design Engineer
/ /    Xilinx Ireland
\_\/\  Units 9 A&B, Eastgate Ave.
       East Gate, Little Island,
       Cork, Ireland.
  Internal Ext: 2614
  Tel: +353 21 435 5704
  FAX: +353 21 435 3342
***********************************************************************
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: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-09-05 19:51:34 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.