add test-tsc
[lttv.git] / scripts / svn-diff
CommitLineData
3e122d84 1#! /bin/sh
2
3# wrapper for svn diff command
4#
5# svn always call this with:
6# $1 = -u
7# $2 = -L
8# $3 = left file label
9# $4 = -L
10# $5 = right file label
11# $6 = left file name
12# $7 = right file name
13
14OLDDIR=a
15NEWDIR=b
16
17exec /usr/bin/diff -up "$1" "$2" "$3" "$4" "$5" "$6" "$7" | \
18 sed -e "s/^--- \([^\/].*\)/--- $OLDDIR\/\1/" | \
19 sed -e "s/^+++ \([^\/].*\)/+++ $NEWDIR\/\1/"
20
This page took 0.029263 seconds and 4 git commands to generate.