Login | Register
My pages Projects Community openCollabNet

Discussions > users [DISABLED] > Re: implementing pre-commit-hook to prevent overwriting files under tags-dir

subversion
Discussion topic

There will be a brief maintenance window every Friday at 17:00 Pacific.
For further details, see CollabNet's maintenance and upgrade policy.

Back to topic list

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

Author steinsomers
Full name Stein Somers
Date 2009-09-25 04:12:51 PDT
Message 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.

--
Stein

« Previous message in topic | 12 of 16 | Next message in topic »

Messages

Show all messages in topic

implementing pre-commit-hook to prevent overwriting files under tags-dir axismundi Marc Lustig 2009-09-24 07:06:21 PDT
     Re: implementing pre-commit-hook to prevent overwriting files under tags-dir steinsomers Stein Somers 2009-09-24 07:17:07 PDT
         Re: implementing pre-commit-hook to prevent overwriting files under tags-dir axismundi Marc Lustig 2009-09-25 01:14:02 PDT
             Re: implementing pre-commit-hook to prevent overwriting files under tags-dir axismundi Marc Lustig 2009-09-25 02:26:26 PDT
                 RE: implementing pre-commit-hook to prevent overwriting files under tags-dir Johan Corveleyn <johan dot corveleyn at uz dot kuleuven dot ac dot be> Johan Corveleyn <johan dot corveleyn at uz dot kuleuven dot ac dot be> 2009-09-25 04:01:20 PDT
                     RE: implementing pre-commit-hook to prevent overwriting files under tags-dir axismundi Marc Lustig 2009-09-25 04:45:08 PDT
                         RE: implementing pre-commit-hook to prevent overwriting files under tags-dir axismundi Marc Lustig 2009-09-26 12:41:19 PDT
                             Re: implementing pre-commit-hook to prevent overwriting files under tags-dir ryandesign Ryan Schmidt 2009-09-26 14:14:56 PDT
                                 Re: implementing pre-commit-hook to prevent overwriting files under tags-dir axismundi Marc Lustig 2009-09-27 00:29:55 PDT
                                     Re: implementing pre-commit-hook to prevent overwriting files under tags-dir Andrey Repin <anrdaemon at freemail dot ru> Andrey Repin <anrdaemon at freemail dot ru> 2009-09-27 05:35:04 PDT
                                         Re: implementing pre-commit-hook to prevent overwriting files under tags-dir steinsomers Stein Somers 2009-09-29 02:54:14 PDT
                 Re: implementing pre-commit-hook to prevent overwriting files under tags-dir steinsomers Stein Somers 2009-09-25 04:12:51 PDT
     Re: implementing pre-commit-hook to prevent overwriting files under tags-dir Andrey Repin <anrdaemon at freemail dot ru> Andrey Repin <anrdaemon at freemail dot ru> 2009-09-24 08:10:06 PDT
         Re: implementing pre-commit-hook to prevent overwriting files under tags-dir axismundi Marc Lustig 2009-09-24 08:24:58 PDT
             Re: implementing pre-commit-hook to prevent overwriting files under tags-dir David Weintraub <qazwart at gmail dot com> David Weintraub <qazwart at gmail dot com> 2009-09-24 09:20:11 PDT
                 Re: implementing pre-commit-hook to prevent overwriting files under tags-dir axismundi Marc Lustig 2009-09-25 01:11:16 PDT
Messages per page: