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

[patch] contrib/client-side/wcgrep ignore unversioned files

From: Peter Samuelson <peter_at_p12n.org>
Date: 2007-10-26 17:17:05 CEST

I tested this script in 1.4.4, not trunk; if 'svn status -v' has
changed column alignments, the 'cut -c41-' needs to be adjusted
accordingly. (No, in fact, I _didn't_ want to use --xml.)

The biggest change is to exclude all unversioned files; this means
WCGREP_IGNORE is no longer terribly important, and it cuts way down on
the false positive matches I see. (I'm too lazy to craft a specific
enough WCGREP_IGNORE each time I want to use the script.)

* contrib/client-side/wcgrep: Add a usage message. Simplify the logic.
  Do not require bash or features of GNU tools ("find -regex", "xargs
  -0"). Use 'svn st -v' to determine what files are under wc control,
  rather than relying on an ignore pattern.

Patch by: Peter Samuelson <peter@p12n.org>

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Received on Fri Oct 26 17:17:18 2007

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.