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

Re: Update/Switch without creating files

From: Andrew Bell <andrew.bell.ia_at_gmail.com>
Date: 2005-02-28 19:45:25 CET

On Mon, 28 Feb 2005 10:34:39 -0800, David Ripton <dripton@ripton.net> wrote:
> On 2005.02.28 10:51:57 +0000, Andrew Bell wrote:
> > In CVS, the default of "update" didn't create files in the local
> > workspace if they weren't already there. You had to ask specifically
> > for files that weren't in your workspace.
>
> I believe this is incorrect. "cvs update" creates new plain files by
> default. (It doesn't create new directories, unless you use -d.)

You're right. How quickly we forget. But this functionality would
still meet my need.

> Of course, this is a hack, and not really the way svn is designed to be
> used. Why do you need to ignore new files?

It's not really new files, it's directories that I don't currently
have in my working copy. I only checked out part of a tree, and then
tried to switch my copy of this pruned tree to another branch. It
wanted to check out all of the directories that were already pruned.

Thanks for your suggestion, but I guess I can go through the remaining
dirs and switch by hand. We may have to rethink our layout. It just
didn't use to be a problem with CVS.

Cheers,

-- Andrew Bell
andrew.bell.ia@gmail.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Feb 28 19:49:47 2005

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.