[TxMt] FileMerge commands

Chris Thomas chris at cjack.com
Fri Apr 21 16:14:42 UTC 2006


On Apr 20, 2006, at 2:46 PM, Aparajita Fishman wrote:

> INODE=`stat -f "%i" "$2"`
> TMPPATH="/tmp/tm-opendiff-$INODE.tmp"
> svn cat -r $1 "$2" > "$TMPPATH"
> opendiff "$TMPPATH" "$2"

Why not reuse the existing SVN diff code, using --diff-cmd, rather  
than duplicating all of the command infrastructure?

See http://www.wsanchez.net/blog/2005/08/filemerge_and_subversion.html.

Chris




More information about the textmate mailing list