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

Re: implementing pre-commit-hook to prevent overwriting files under tags-dir

From: Stein Somers <ssomers_at_opnet.com>
Date: Fri, 25 Sep 2009 13:12:46 +0200

Marc Lustig wrote:
> The bug must be somewhere else.

And you may be hiding it with those "2>/dev/null" everywhere. You use an
awful lot of text processing tools in that shell script. Better learn some of
them well and drop the others. For instance, "grep x | sed s/x/y/" probably
means you want "sed -n s/x/y/p".

The one advantage of shell is you can easily play with it on the command
line. So do that, add each part of the filter and find out what it does.

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-09-25 13:14:57 CEST

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.