However, for a while, I thought they couldn’t play well together. I tried svn
diff –diff-cmd tkdiff
I recently sat down to take another look, and found that Subversion support was
added to tkdiff in version 4.0. Now, in a Subversion working directory, tkdiff
I use this simple shell script to tkdiff all files that I’ve modified:
#!/bin/csh foreach file ( \`svn st -q | cut -c 8-\` ) tkdiff $file end
One caveat: by default, tkdiff talks to the master repository (usually over the network) to get HEAD. This is unnecessary, and way slow. BASE is usually just as good, and it’s stored locally, in .svn/text-base. This patch makes tkdiff use the local copy instead.