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

Re: What's the best practice to update many directories but excluding some?

From: Chip Turner <cturner_at_pattern.net>
Date: 2005-03-30 19:59:47 CEST

"Tardif, Sebastien" <STARDIF@anacomp.com> writes:

> Java
> UI
> EJB
> Servlet
> XML
> EclipseWorkspace
>
> I want to update everything under Java except EclipseWorkspace.
>
> How people do this?

Well, that basically sounds like you should be using a branch and
aren't (even just a branch for the EclipseWorkspace dir). But, if you
are using bash, you can do thos:

shopt -s extglob
svn up !(EclibseWorkspace)

The !(...) syntax is an extended glob that says 'match everything
EXCEPT this' and can be a more complicated expression like
!(perl|python|j2ee-*) etc.

Chip

-- 
Chip Turner                   cturner@pattern.net
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Mar 30 20:03:08 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.