[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: Kevin Puetz <puetzk_at_puetzk.org>
Date: 2005-04-22 16:06:32 CEST

Graham Leggett wrote:

> Hi all,
>
> I have a repository with many branches, and I would like to check out
> the "root" of the repository so that I can make some structural changes.
> What I definitely don't want to do is check out the whole repository.
>
> 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.

update -N is depth 0, not depth 1 like cvs's -l option was. Which makes it
significantly less useful, IMO, but the developers have already admitted
that svn's support for partial checkouts is a bit shaky :-)

> 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.

you have to "svn update -N foo" for each foo that you want to have appear.
"svn ls" can show you what subfolders exist. AFAICT, there appears to be no
way to do this with tortoise at all, since it has no way that I could find
to ask for an update to something that doesn't already exist.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Apr 22 16:10:00 2005

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