#!/bin/sh

# working directory must be the top of trunk/src/lyceum
# $1 is a local path to a file or dirctory

# ~/lyceum/trunk/src/lyceum$ pwd
# ....../lyceum/trunk/src/lyceum

# Assumes the entire wordpress source tree is sitting in the same directory 
# as the entire lyceum source tree.

# hardcode this to the version of wordpress you want to compare
WP='/Users/john/ibiblio/lyceum/wordpress/tags'
TAG='2.0.11'

echo '.svn' > /tmp/diffexcludes

diff -rq --exclude-from=/tmp/diffexcludes $WP/$TAG/$1 `pwd`/$1
