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

Re: svn commit: r20644 - trunk/notes

From: Karl Fogel <kfogel_at_google.com>
Date: 2006-07-14 23:32:45 CEST

"Erik Huelsmann" <ehuels@gmail.com> writes:
>> +To get started, run checkout with --depth 0 or --depth 1. If
>> +additional files or directories are desired, pull them in with
>> +update commands using appropriate --depth options.
>
> This last part only addresses adding items to a working copy, or
> removing *entire subtrees*. What if I want to remove 1 file, or a
> specific entry in the current dir, which also has a very complex
> subdir structure in another entry? In that case 'svn up --depth 0'
> followed by reconstructing the subtree(s) isn't a very user friendly
> thing to do.
>
> I think we need a UI to explicitly remove an entry from the working
> copy without influencing peer entries.
>
> (Yes, this is a UI problem, but, hey, you checked in the UI part too!)

I'd like not to add new subcommands if possible (e.g., 'svn include',
'svn exclude'). That's a precious, precious namespace, and we can
already get at least the 'include' functionality through 'update'...

So can we get 'exclude' functionality without adding an 'exclude'
command? Some ideas to exclude subdir FOO:

   svn update --depth -1 FOO /* ugly, though consistent in a way */
   svn update --exclude FOO /* hmmm, I like this better */

By the way, I didn't understand what you meant by "...a specific entry
in the current dir, which also has a very complex subdir structure in
another entry". What would that be? (Is there an important use case
I'm not addressing above?)

-Karl

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jul 14 23:33:24 2006

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.