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

RE: Re: svn add *

From: Reedick, Andrew <jr9445_at_ATT.COM>
Date: Mon, 14 Jan 2008 08:53:13 -0600

> -----Original Message-----
> From: marc gonzalez-carnicer [mailto:carnicer.lists_at_gmail.com]
> Sent: Monday, January 14, 2008 6:50 AM
> To: Ryan Schmidt
> Cc: Thufir; Subversion Users
> Subject: Re: svn add *
> yeah, cool. whatever :) any of these hacks is hard to apply unless you
> are a bash freak and want to read the sed and/or cut manuals. and
> besides, these solutions are not complete, for example, it's hard to
> make them valid for server information, or for properties, etc.

Pffffft, if you can't handle the learning cliff^H^H^H^H^Hcurve... But
seriously, it would be a good idea to learn 'regular expressions' (aka
regex.) Google for a tutorial on regular expressions instead of trying
to read the man page. Regexes are incredibly useful and pretty much
_everything_ uses them: sed, Perl, Python, vi, etc..

You could what you propose below with about 30 minutes of playing with a
regex tutorial. Well worth the time invested, IMHO.

> 2008/1/14, Ryan Schmidt <subversion-2007b_at_ryandesign.com>:
> >
> > Or perhaps you were looking for:
> >
> > svn status | sed -n s/^\?//p | xargs svn add
> really, don't you think it'd be nice to have an svn status option /
> set of options that would allow to filter the svn status output.

Or you want a filter script that Someone(tm) could quickly write and add
to the contributed software section. A script would probably be
available faster than a code change.

svn status | svn_filter.sh | xargs ....


The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential, proprietary, and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from all computers. GA625

To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-01-14 16:14:14 CET

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.