CVS diff (and the command line regular diff) have an option to specify
how much context you want around your diff. Subversion diff doesn't - in
fact it takes hardly any parameters. But there is a way - you can
specify an external diff that svn diff should use instead of the
builtin. Like so:

svn diff --diff-cmd diff --extensions '-u8' <files you want to diff>

--diff-cmd tells svn to use an external diff command, here simply
"diff", and --extensions passed "-u8" to that command in my example
above, which shows 8 lines of context around the changes (Mac version of
diff takes different args, I think you'd want "-U 8").

-- 
  Heikki Toivonen

Attachment: signature.asc
Description: OpenPGP digital signature

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Open Source Applications Foundation "Dev" mailing list
http://lists.osafoundation.org/mailman/listinfo/dev

Reply via email to