[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: Peter Samuelson <peter_at_p12n.org>
Date: 2006-07-15 17:04:09 CEST

[Karl Fogel]
> 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 */

Ugh. Though, yes, it is consistent in a way.

> svn update --exclude FOO /* hmmm, I like this better */

That tells me "update everything in the current directory except FOO".
I think I would argue for:

     svn update --remove FOO

This is only confusing if you believe 'update' affects anything other
than your wc.

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

He's talking about the situation where the only way to remove a
directory entry from your wc is to 'svn update --depth 0' the parent
dir, then issue subsequent 'svn update' commands to restore the _rest_
of the parent. Basically this is what you have to do if you don't have
'svn update --remove' or whatever.

  • application/pgp-signature attachment: stored
Received on Sat Jul 15 17:04:39 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.