[asterisk-dev] [RFC][PATCH] export attended transfer functionality over AMI

Paolo Ornati ornati at fastwebnet.it
Mon Aug 27 09:36:42 CDT 2007


On Mon, 27 Aug 2007 16:14:20 +0200
Paolo Ornati <ornati at fastwebnet.it> wrote:

> 
> (*) = I've written a "svn-bisect" script: maybe is stupit, maybe useful,
> probably buggy (not really tested):
^^^^^^^^^^^^^^^^

:D

> 
> ---------------------------------------
> #!/bin/bash
> 
> SVN=".svn"
> FGOOD="$SVN/BISECT-GOOD"
> FBAD="$SVN/BISECT-BAD"
> LOG="$SVN/BISECT-LOG"
> GOOD=""
> BAD=""
> 
> function findbug()
> {
> 	if [ -z "$GOOD" ] || [ -z "$BAD" ]; then
> 		return 0
		^^^^^^^^
BUG: return 1 !


> 	fi
> 
> 	DIFF=$(echo $(($GOOD - $BAD)) | tr -d '-')
> 	if [ "$DIFF" = "1" ]; then
> 		echo "***********  FIRST BAD COMMIT: $BAD  ************"
> 		svn log -r "$BAD"
> 		return 1
		^^^^^^^^
BUG: return 0


> 	fi
> 	return 0
	^^^^^^^^

BUG: return 1

-- 
	Paolo Ornati
	Linux 2.6.23-rc3-g50c46637 on x86_64



More information about the asterisk-dev mailing list