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

RE: svn update -N

From: Dale Worley <dworley_at_pingtel.com>
Date: 2005-04-22 15:32:13 CEST

> From: Graham Leggett [mailto:minfrin@sharp.fm]
>
> Having gone through the --help and the manual, svn update -N
> should in
> theory be what I need to update all files in a particular directory -
> but not recurse into subdirectories.
>
> In this case however, svn update -N is doing nothing at all. No files
> appear in the current directory when I know there are files in that
> directory in the repository.

I suspect that checking with "svn status -v" would show that the base
revision number of the directory had been updated to HEAD. But that's not
what you want...

As I understand it, this is a consequence of the particular philosophy
Subversion uses. The problem is that the appearance of a file in a
directory is determined by the revision of the file in the WC, not the
revision of the directory. You updated the directory, and Subversion has
updated its permissions and properties.

If you want a file to appear in the directory, you will have to check *it*
out. You might want to try something like "svn co -N $( svn ls
http://... )" to check out each element of the directory.

Dale

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Apr 22 15:36:05 2005

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.