On Tue, Sep 22, 2009 at 12:31 PM, Thomas Bächler <[email protected]> wrote:
> Aaron Griffin schrieb:
>>>
>>> What about the simple way:
>>>
>>> if [ -z "$1" ]; then
>>>  echo "Please ..."
>>>  exit 1
>>> done
>>>
>>> This way, the editor code path could be removed again.
>>>
>>> If someone wants a more complex commit message, take Francois' aproach
>>> and
>>> svn commit manually before calling XXXpkg.
>>>
>>> A simple commit message can be given on the command line and doesn't need
>>> a
>>> separate editor.
>>
>> Hmm that seems ok, but we should probably try and prevent things like:
>> $ extrapkg " "
>> via:
>
> If someone wants to explicitly cheat the system, he will succeed anyway, so
> I wouldn't bother.

Considering this script lives on my machine and I've already
hand-hacked it anyway, I'm with Thomas here. :)

-Dan

Reply via email to