
The following message is a courtesy copy of an article that has been posted to lrde.proj as well. https://svn.lrde.epita.fr/svn/lrde-tools/trunk ChangeLog | 5 +++++ prcs2svn/prcs2svn.py | 1 - src/svndiff | 14 ++++++++++++-- 3 files changed, 17 insertions(+), 3 deletions(-) Index: ChangeLog from Akim Demaille <akim@epita.fr> * src/svndiff: Report the svn repository location, and diffstat's report. Index: src/svndiff --- src/svndiff (revision 115) +++ src/svndiff (working copy) @@ -1,6 +1,13 @@ #!/bin/sh -svn diff --diff-cmd "`which diff`" -x "-w -u" $@ | sed -e "# do not try this at home ! +{ + svn info | sed -n '/^URL: /{s///;p;q;}' + echo + svn diff --diff-cmd "`which diff`" -x "-w -u" $@ >$$.diffs + # Don't fail if missing. + diffstat $$.diffs 2>/dev/null + echo + sed $$.diffs -e "# do not try this at home ! /^Index: .*ChangeLog\$/{ n N @@ -56,4 +63,7 @@ p } H -d" | tee diffs.patch +d" +} | tee diffs.patch + +rm $$.diffs